11d8b0dd79
Changelog: http://net-snmp.sourceforge.net/about/ChangeLog.html tested by Graeme Lee, ok mbalmer@
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
$OpenBSD: patch-Makefile_rules,v 1.3 2007/09/26 20:03:42 rui Exp $
|
|
--- Makefile.rules.orig Sat Jul 7 00:39:10 2007
|
|
+++ Makefile.rules Sat Sep 15 23:12:28 2007
|
|
@@ -228,14 +228,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 \
|
|
@@ -269,7 +275,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 \
|