1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r12256: Add helper script for installing pkg-config files

This commit is contained in:
Jelmer Vernooij 2005-12-15 17:19:27 +00:00 committed by Gerald (Jerry) Carter
parent 09a517bd97
commit c05ffb05c8
2 changed files with 17 additions and 1 deletions

View File

@ -113,7 +113,7 @@ installmisc: installdirs
@$(SHELL) $(srcdir)/script/installmisc.sh $(srcdir) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(BINDIR)
installpc: installdirs
@cp $(PC_FILES) $(DESTDIR)$(PKGCONFIGDIR)
@$(SHELL) $(srcdir)/script/installpc.sh $(srcdir) $(DESTDIR)$(PKGCONFIGDIR) $(PC_FILES)
uninstall: uninstallbin uninstallman uninstallmisc uninstalllib uninstallheader

16
source/script/installpc.sh Executable file
View File

@ -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