summaryrefslogtreecommitdiff
path: root/source4/script/installpc.sh
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-15 17:19:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:25 -0500
commit4bc1cc52ec40840afad95942aecf4841b3012451 (patch)
treee1684e095be8ddd586b57cdfdbb983fc184e601e /source4/script/installpc.sh
parent275cf2b364983290288b2423365ae9c73fc53601 (diff)
downloadsamba-4bc1cc52ec40840afad95942aecf4841b3012451.tar.gz
samba-4bc1cc52ec40840afad95942aecf4841b3012451.tar.bz2
samba-4bc1cc52ec40840afad95942aecf4841b3012451.zip
r12256: Add helper script for installing pkg-config files
(This used to be commit c05ffb05c85475669d72afcc183cfb54bd7c73d5)
Diffstat (limited to 'source4/script/installpc.sh')
-rwxr-xr-xsource4/script/installpc.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/script/installpc.sh b/source4/script/installpc.sh
new file mode 100755
index 0000000000..81ca2f8145
--- /dev/null
+++ b/source4/script/installpc.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+# install miscellaneous files
+
+SRCDIR="$1"
+PKGCONFIGDIR="$2"
+shift
+shift
+
+cd $SRCDIR || exit 1
+
+for I in $*
+do
+ cp $I $PKGCONFIGDIR
+done
+
+exit 0