85e8a0d4da
- NOTE: you can now override the dir used for cache/logs by using the variable STATEDIR. i.e., "make STATEDIR=/alternate/dir package", and it will be substituted into the INSTALL/DEINSTALL scripts.
33 lines
889 B
Plaintext
33 lines
889 B
Plaintext
--- scripts/Makefile.in.orig Tue Jun 27 23:18:14 2000
|
|
+++ scripts/Makefile.in Tue Jun 27 23:20:19 2000
|
|
@@ -18,19 +18,21 @@
|
|
RANLIB = @RANLIB@
|
|
LN_S = @LN_S@
|
|
|
|
+DESTDIR =
|
|
+
|
|
all:
|
|
|
|
install:
|
|
- @if test ! -d $(exec_prefix); then \
|
|
- echo "mkdir $(exec_prefix)"; \
|
|
- mkdir $(exec_prefix); \
|
|
+ @if test ! -d $(DESTDIR)$(exec_prefix); then \
|
|
+ echo "${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(exec_prefix)"; \
|
|
+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(exec_prefix); \
|
|
fi
|
|
- @if test ! -d $(bindir); then \
|
|
- echo "mkdir $(bindir)"; \
|
|
- mkdir $(bindir); \
|
|
+ @if test ! -d $(DESTDIR)$(bindir); then \
|
|
+ echo "${BSD_INSTALL_PROGRAM_DIR} $(DESTDIR)$(bindir)"; \
|
|
+ ${BSD_INSTALL_PROGRAM_DIR} $(DESTDIR)$(bindir); \
|
|
fi
|
|
- $(INSTALL_BIN) RunCache $(bindir)
|
|
- $(INSTALL_BIN) RunAccel $(bindir)
|
|
+ $(INSTALL_BIN) RunCache $(DESTDIR)$(bindir)
|
|
+ $(INSTALL_BIN) RunAccel $(DESTDIR)$(bindir)
|
|
|
|
clean:
|
|
|