bug-gnu-utils
[Top][All Lists]
Advanced

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

[patch] grep 2.5: DESTDIR ignored in install-exec-local


From: Maciej W. Rozycki
Subject: [patch] grep 2.5: DESTDIR ignored in install-exec-local
Date: Tue, 26 Mar 2002 16:51:00 +0100 (MET)

Hello,

 Automake prepends $(DESTDIR) itself to destination paths in installation
rules it emits.  Hand-coded ones have to do that manually.  Here is a
patch.

 Note that po/Makefile.in.in is way obsolete and suffers from missing
$(DESTDIR) references as well.  I'm dealing with it by running `gettextize
-c -f' (additional steps are required as of gettext 0.11.1 as explained by
the command's output) -- you may consider doing it for the next release.

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: address@hidden, PGP key available        +

grep-2.5-destdir.patch
diff -up --recursive --new-file grep-2.5.macro/src/Makefile.am 
grep-2.5/src/Makefile.am
--- grep-2.5.macro/src/Makefile.am      Wed Mar 13 15:20:13 2002
+++ grep-2.5/src/Makefile.am    Tue Mar 19 22:52:13 2002
@@ -18,5 +18,5 @@ EXTRA_DIST = \
              vms_fab.c vms_fab.h
 
 install-exec-local:
-       @SYMLINK@ @SYMLINKFROM@ $(bindir)/egrep
-       @SYMLINK@ @SYMLINKFROM@ $(bindir)/fgrep
+       @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/egrep
+       @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/fgrep




reply via email to

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