gnuit-dev
[Top][All Lists]
Advanced

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

[gnuit-dev] Fix doc/Makefile installation on non-Linux platforms


From: Gerald Pfeifer
Subject: [gnuit-dev] Fix doc/Makefile installation on non-Linux platforms
Date: Fri, 26 Dec 2008 13:53:19 +0100 (CET)
User-agent: Alpine 1.99 (LSU 1142 2008-08-13)

dpkg-help.txt is not a program, and thus install on FreeBSD fails
with a hard error.  The patch below addresses this bug.

Gerald

2008-12-26  Gerald Pfeifer  <address@hidden>

        * doc/Makefile.am (install-data-hook): Use INSTALL_DATA instead
        of INSTALL_PROG.

--- doc/Makefile.am.orig        2008-06-29 01:14:36.000000000 +0200
+++ doc/Makefile.am     2008-12-26 13:27:43.000000000 +0100
@@ -38,7 +38,7 @@
 # ignoring git.1 in case the other git is using it
 # The same applies for infodir, $(prefix)/info vs $(prefix)/share/info
 install-data-hook:
-       $(INSTALL_PROGRAM) -m 644 $(srcdir)/dpkg-help.txt 
$(DESTDIR)$(datadir)/gnuit/dpkg-help.txt
+       $(INSTALL_DATA) -m 644 $(srcdir)/dpkg-help.txt 
$(DESTDIR)$(datadir)/gnuit/dpkg-help.txt
        for i in $(GIT_GREPS);\
        do\
            rm -f $(DESTDIR)$(mandir)/man1/$${i}.1;\
--- doc/Makefile.in.orig        2008-06-29 01:14:36.000000000 +0200
+++ doc/Makefile.in     2008-12-26 13:27:51.000000000 +0100
@@ -815,7 +815,7 @@
 # ignoring git.1 in case the other git is using it
 # The same applies for infodir, $(prefix)/info vs $(prefix)/share/info
 install-data-hook:
-       $(INSTALL_PROGRAM) -m 644 $(srcdir)/dpkg-help.txt 
$(DESTDIR)$(datadir)/gnuit/dpkg-help.txt
+       $(INSTALL_DATA) -m 644 $(srcdir)/dpkg-help.txt 
$(DESTDIR)$(datadir)/gnuit/dpkg-help.txt
        for i in $(GIT_GREPS);\
        do\
            rm -f $(DESTDIR)$(mandir)/man1/$${i}.1;\




reply via email to

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