Use standard ${BSD_INSTALL_xxx} macros for installation

This commit is contained in:
rh 2001-01-16 16:25:04 +00:00
parent 8b545c5900
commit a8601342f2
3 changed files with 31 additions and 1 deletions

View file

@ -1,3 +1,5 @@
$NetBSD: patch-sum,v 1.1.1.1 2001/01/16 15:43:29 rh Exp $
$NetBSD: patch-sum,v 1.2 2001/01/16 16:25:04 rh Exp $
MD5 (patch-aa) = 41d29837b0ca7288cdf3728316a66996
MD5 (patch-ab) = 78935f651a2bfff30d287431e1204580
MD5 (patch-ac) = 35683cb3580206d42234471d13334ae2

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ab,v 1.1 2001/01/16 16:25:05 rh Exp $
--- plugins/Makefile.in.orig Tue Jan 16 17:12:27 2001
+++ plugins/Makefile.in
@@ -58,8 +58,7 @@
rm -f *~ t/*~
install:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(INSTALL_DIR)
- for file in $(PLUGINS) $(EXTRAS); do if test -x $$file; then $(INSTALL) -m 775 $(INSTALL_OPTS) $$file $(DESTDIR)$(INSTALL_DIR); fi; done
+ for file in $(PLUGINS) $(EXTRAS); do if test -x $$file; then ${BSD_INSTALL_PROGRAM} $$file $(DESTDIR)$(INSTALL_DIR); fi; done
install-base:
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(INSTALL_DIR)

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ac,v 1.1 2001/01/16 16:25:05 rh Exp $
--- plugins-scripts/Makefile.in.orig Wed Jun 14 22:44:21 2000
+++ plugins-scripts/Makefile.in
@@ -17,8 +17,7 @@
all: $(SCRIPT)
install:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(INSTALL_DIR)
- for file in $(SCRIPT); do $(INSTALL) -m 775 $(INSTALL_OPTS) $$file $(DESTDIR)$(INSTALL_DIR); done
+ for file in $(SCRIPT); do ${BSD_INSTALL_SCRIPT} $$file $(DESTDIR)$(INSTALL_DIR); done
test:
$(PERL) ../test.pl t/*.t