wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/doc/man Makefile.am


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/doc/man Makefile.am
Date: Sun, 23 Jan 2005 08:24:21 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    05/01/23 13:24:21

Modified files:
        doc/man        : Makefile.am 

Log message:
        fixed doc/man/Makefile for non-default but standard cases

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/doc/man/Makefile.am.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: wesnoth/doc/man/Makefile.am
diff -u wesnoth/doc/man/Makefile.am:1.1 wesnoth/doc/man/Makefile.am:1.2
--- wesnoth/doc/man/Makefile.am:1.1     Thu Jan 20 00:31:25 2005
+++ wesnoth/doc/man/Makefile.am Sun Jan 23 13:24:21 2005
@@ -3,20 +3,19 @@
 
 install-data-hook:
        for i in $(MAN_LANG); do \
-               mkdir -p $(mandir)/$$i/man6 ; \
+               mkdir -p $(DESTDIR)$(mandir)/$$i/man6 ; \
                for j in $(dist_man6_MANS); do \
-                       $(INSTALL) -c -m 644 $$i/$$j $(mandir)/$$i/man6/$$j ; \
+                       $(INSTALL) -c -m 644 $(srcdir)/$$i/$$j 
$(DESTDIR)$(mandir)/$$i/man6/$$j ; \
                done \
        done
 
 uninstall-hook:
        for i in $(MAN_LANG); do \
                for j in $(dist_man6_MANS); do \
-                       rm -f $(mandir)/$$i/man6/$$j ; \
+                       rm -f $(DESTDIR)$(mandir)/$$i/man6/$$j ; \
                done ; \
-               if test -d $(mandir)/$$i/man6 ; then echo `rmdir 
$(mandir)/$$i/man6` ; fi ; \
-               if test -d $(mandir)/$$i ; then echo `rmdir $(mandir)/$$i` ; fi 
; \
+               if test -d $(DESTDIR)$(mandir)/$$i/man6 ; then echo `rmdir 
$(DESTDIR)$(mandir)/$$i/man6` ; fi ; \
+               if test -d $(DESTDIR)$(mandir)/$$i ; then echo `rmdir 
$(DESTDIR)$(mandir)/$$i` ; fi ; \
        done
-       if test -d $(mandir)/man6 ; then echo `rmdir $(mandir)/man6` ; fi
-       if test -d $(mandir) ; then echo `rmdir $(mandir)` ; fi
-
+       if test -d $(DESTDIR)$(mandir)/man6 ; then echo `rmdir 
$(DESTDIR)$(mandir)/man6` ; fi
+       if test -d $(DESTDIR)$(mandir) ; then echo `rmdir $(DESTDIR)$(mandir)` 
; fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]