better control of odd install locations
This commit is contained in:
parent
f5d42ca11d
commit
8cd3571df2
3
Makefile
3
Makefile
@ -134,7 +134,8 @@ $(MANFILES) : all
|
|||||||
$(install) --mode a=r $(notdir $@) $@
|
$(install) --mode a=r $(notdir $@) $@
|
||||||
|
|
||||||
install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL))
|
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
|
############ prog.c --> prog.o
|
||||||
|
|
||||||
|
5
README
5
README
@ -29,6 +29,11 @@ INSTALLATION
|
|||||||
|
|
||||||
make SHARED=0 DESTDIR=$HOME install
|
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
|
BUG REPORTS
|
||||||
|
|
||||||
Debian users should use the Debian bug tracking system.
|
Debian users should use the Debian bug tracking system.
|
||||||
|
Loading…
Reference in New Issue
Block a user