]> granicus.if.org Git - postgresql/commitdiff
Repair incorrect assumption that all versions of 'install' know
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Jun 2000 05:09:37 +0000 (05:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Jun 2000 05:09:37 +0000 (05:09 +0000)
how to install multiple files in one invocation.

src/bin/scripts/Makefile

index 7426db49eb8847f6855099fb5e6de5c9161d3c0a..c08382ffcc0a62d890b040782db4f91ca24668ec 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1994, Regents of the University of California
 #
-# $Header: /cvsroot/pgsql/src/bin/scripts/Makefile,v 1.5 2000/06/27 00:31:44 petere Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Makefile,v 1.6 2000/06/28 05:09:37 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -20,7 +20,7 @@ createlang: createlang.sh
        sed -e 's/__DLSUFFIX__/$(DLSUFFIX)/' $< > $@
 
 install: all installdirs
-       $(INSTALL_SCRIPT) $(SCRIPTS) $(bindir)
+       for i in $(SCRIPTS); do $(INSTALL_SCRIPT) $$i $(bindir); done
 
 installdirs:
        $(mkinstalldirs) $(bindir)