Author: ivanovic
Date: Sun Nov  2 20:52:49 2008
New Revision: 30545

URL: http://svn.gna.org/viewcvs/wesnoth?rev=30545&view=rev
Log:
ported the manpages fix in a bad way

Modified:
    branches/1.4/doc/man/Makefile.am

Modified: branches/1.4/doc/man/Makefile.am
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/doc/man/Makefile.am?rev=30545&r1=30544&r2=30545&view=diff
==============================================================================
--- branches/1.4/doc/man/Makefile.am (original)
+++ branches/1.4/doc/man/Makefile.am Sun Nov  2 20:52:49 2008
@@ -22,7 +22,9 @@
        for i in $(MAN_LANG); do \
                mkdir -p $(DESTDIR)$(mandir)/$$i/man6 ; \
                for j in $(INSTALL_MAN_PAGES); do \
-                       $(INSTALL) -c -m 644 $(srcdir)/$$i/$$j 
$(DESTDIR)$(mandir)/$$i/man6/$$j ; \
+                       if test -f $(srcdir)/$$i/$$j; then \
+                               $(INSTALL) -c -m 644 $(srcdir)/$$i/$$j 
$(DESTDIR)$(mandir)/$$i/man6/$$j ; \
+                       fi \
                done \
        done
 
@@ -48,8 +50,6 @@
        for i in $(MAN_LANG); do \
                mkdir -p $(distdir)/$$i ; \
                for j in $(MAN_PAGES); do \
-                       if test -f $(srcdir)/$$i/$$j; then \
-                               $(INSTALL) -c -m 644 $(srcdir)/$$i/$$j 
$(DESTDIR)$(mandir)/$$i/man6/$$j ; \
-                       fi \
+                       $(INSTALL) -c -m 644 $(srcdir)/$$i/$$j 
$(distdir)/$$i/$$j ; \
                done \
        done


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to