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:
parent
09a517bd97
commit
c05ffb05c8
@ -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
16
source/script/installpc.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user