fc2d401e39
- changelog: http://www.net-snmp.org/about/ChangeLog.html ok steven@
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
$OpenBSD: patch-Makefile_rules,v 1.2 2007/05/19 10:52:06 rui Exp $
|
|
--- Makefile.rules.orig Sun May 6 20:59:42 2007
|
|
+++ Makefile.rules Sun May 6 21:04:39 2007
|
|
@@ -216,14 +216,20 @@ uninstalllibs:
|
|
installbin: installlocalbin installsubdirbin
|
|
|
|
installlocalbin: $(INSTALLBINPROGS)
|
|
- @if test "$(INSTALLBINPROGS) $(INSTALLBINSCRIPTS)" != " "; then \
|
|
+ @if test "X$(INSTALLBINPROGS)" != "X"; then \
|
|
$(SHELL) $(top_srcdir)/mkinstalldirs $(INSTALL_PREFIX)$(bindir) ; \
|
|
- it="$(INSTALLBINPROGS) $(INSTALLBINSCRIPTS)" ; \
|
|
- $(INSTALL) $(INSTALLBINPROGS) $(INSTALLBINSCRIPTS) $(INSTALL_PREFIX)$(bindir) ; \
|
|
- for i in $$it ; do \
|
|
+ $(INSTALL_PROGRAM) $(INSTALLBINPROGS) $(INSTALL_PREFIX)$(bindir) ; \
|
|
+ for i in $(INSTALLBINPROGS) ; do \
|
|
echo "installing $$i in $(INSTALL_PREFIX)$(bindir)"; \
|
|
done \
|
|
fi
|
|
+ @if test "X$(INSTALLBINSCRIPTS)" != "X"; then \
|
|
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(INSTALL_PREFIX)$(bindir) ; \
|
|
+ $(INSTALL_SCRIPT) $(INSTALLBINSCRIPTS) $(INSTALL_PREFIX)$(bindir) ; \
|
|
+ for i in $(INSTALLBINSCRIPTS) ; do \
|
|
+ echo "installing $$i in $(INSTALL_PREFIX)$(bindir)"; \
|
|
+ done \
|
|
+ fi
|
|
|
|
installsubdirbin:
|
|
@if test "$(SUBDIRS)" != ""; then \
|
|
@@ -257,7 +263,7 @@ installlocalsbin: $(INSTALLSBINPROGS)
|
|
@if test "$(INSTALLSBINPROGS)" != ""; then \
|
|
it="$(INSTALLSBINPROGS)" ; \
|
|
$(SHELL) $(top_srcdir)/mkinstalldirs $(INSTALL_PREFIX)$(sbindir) ; \
|
|
- $(INSTALL) $(INSTALLSBINPROGS) $(INSTALL_PREFIX)$(sbindir) ; \
|
|
+ $(INSTALL_PROGRAM) $(INSTALLSBINPROGS) $(INSTALL_PREFIX)$(sbindir) ; \
|
|
for i in $$it ; do \
|
|
echo "installing $$i in $(INSTALL_PREFIX)$(sbindir)"; \
|
|
done \
|