avr-libc-commit
[Top][All Lists]
Advanced

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

[avr-libc-commit] [2224] . Honour $(DESTDIR) in man page installation, s


From: Joerg Wunsch
Subject: [avr-libc-commit] [2224] . Honour $(DESTDIR) in man page installation, so the user can re-root
Date: Wed, 23 Feb 2011 19:25:29 +0000

Revision: 2224
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2224
Author:   joerg_wunsch
Date:     2011-02-23 19:25:28 +0000 (Wed, 23 Feb 2011)
Log Message:
-----------
. Honour $(DESTDIR) in man page installation, so the user can re-root
  the target three by time of installation.

. Replace the GNUism "install -t dir file..." by its generic counterpart
  "intall file... dir" so it works everywhere, not just on GNU systems.

Modified Paths:
--------------
    trunk/avr-libc/doc/api/Makefile.am

Modified: trunk/avr-libc/doc/api/Makefile.am
===================================================================
--- trunk/avr-libc/doc/api/Makefile.am  2011-02-23 18:15:04 UTC (rev 2223)
+++ trunk/avr-libc/doc/api/Makefile.am  2011-02-23 19:25:28 UTC (rev 2224)
@@ -239,8 +239,8 @@
        $(INSTALL_DATA) $(USER_MANUAL).pdf $(DOC_INST_DIR)/$(USER_MANUAL).pdf
 
 install-dox-man: dox-html
-       $(mkinstalldirs) $(mandir)/man3
-       $(INSTALL_DATA) -t $(mandir)/man3 man/man3/*.3
+       $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
+       $(INSTALL_DATA) man/man3/*.3 $(DESTDIR)$(mandir)/man3
 
 .PHONY: html latex pdf demo demodox \
        dox-html dox-pdf install-pdf install-html \




reply via email to

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