]> granicus.if.org Git - procps-ng/commitdiff
better control of odd install locations
authoralbert <>
Fri, 21 Mar 2003 01:04:51 +0000 (01:04 +0000)
committeralbert <>
Fri, 21 Mar 2003 01:04:51 +0000 (01:04 +0000)
Makefile
README

index 70ee2ba8b25062be4c140b08b9a07b79705839c9..dc361225ca2e90de5ba975c096c5faca230a0193 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -134,7 +134,8 @@ $(MANFILES) : all
        $(install) --mode a=r $(notdir $@) $@
 
 install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL))
-       cd $(usr/bin) && ($(ln_f) skill snice; $(ln_f) pgrep pkill)
+       cd $(usr/bin) && $(ln_f) skill snice
+       cd $(usr/proc/bin) && $(ln_f) pgrep pkill
 
 ############ prog.c --> prog.o
 
diff --git a/README b/README
index 7da1658a2188e7425e5e7cc9b37c249018738af4..f4466779a3157b6e6ae262e49512e6e9832e9352 100644 (file)
--- a/README
+++ b/README
@@ -29,6 +29,11 @@ INSTALLATION
 
     make SHARED=0 DESTDIR=$HOME install
 
+    Suppose you wanted to install stuff in strange places.
+    You might do something like this:
+
+    make usr/bin=/tmp/fff/iii/ DESTDIR=/tmp/fff install="install -D" ldconfig=echo install
+
 BUG REPORTS
 
     Debian users should use the Debian bug tracking system.