]> sourceware.org Git - newlib-cygwin.git/commitdiff
Disallow installing "man pages" from release subdir
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 18 Jun 2015 20:04:58 +0000 (22:04 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 18 Jun 2015 20:04:58 +0000 (22:04 +0200)
* Makefile.in (install-man): Exclude release subdir from search paths.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/ChangeLog
winsup/cygwin/Makefile.in

index 58a3821581d69c3cc912601ae90758fae1e61eda..5229f0c2dc93626b855d6366d17c5ac2e15097c8 100644 (file)
@@ -1,3 +1,7 @@
+2015-06-18  Corinna Vinschen  <corinna@vinschen.de>
+
+       * Makefile.in (install-man): Exclude release subdir from search paths.
+
 2015-06-17  Corinna Vinschen  <corinna@vinschen.de>
 
        * net.cc (sethostname): New function.
index d8277548f5608e61df9ec925522ca2f629e41da1..271a5be1b56d1c0be9f115907a9677a8928cfa70 100644 (file)
@@ -505,16 +505,16 @@ install-headers:
 install-man:
        @$(MKDIRP) $(DESTDIR)$(mandir)/man2 $(DESTDIR)$(mandir)/man3 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7
        cd $(srcdir); \
-       for i in `find . -type f -name '*.2'`; do \
+       for i in `find . -type f ! -path './release/*' -name '*.2'`; do \
            $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/man2/`basename $$i` ; \
        done; \
-       for i in `find . -type f -name '*.3'`; do \
+       for i in `find . -type f ! -path './release/*' -name '*.3'`; do \
            $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/man3/`basename $$i` ; \
        done; \
-       for i in `find . -type f -name '*.5'`; do \
+       for i in `find . -type f ! -path './release/*' -name '*.5'`; do \
            $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/man5/`basename $$i` ; \
        done; \
-       for i in `find . -type f -name '*.7'`; do \
+       for i in `find . -type f ! -path './release/*' -name '*.7'`; do \
            $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/man7/`basename $$i` ; \
        done
 
This page took 0.033776 seconds and 5 git commands to generate.