openbsd-ports/www/squid/patches/patch-ai

33 lines
889 B
Plaintext
Raw Normal View History

--- 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: