summaryrefslogtreecommitdiffstats
path: root/lib/libfuse
diff options
context:
space:
mode:
authornatano <natano@openbsd.org>2016-09-04 09:54:25 +0000
committernatano <natano@openbsd.org>2016-09-04 09:54:25 +0000
commit53c02d25e0727c06da06de6efa1ea46c1e4b81b5 (patch)
treebc6cd655a4e94c7e10cf7c4ca9aecce5075fc4db /lib/libfuse
parentMove files created by root during install/upgrade in a subdir of (diff)
downloadwireguard-openbsd-53c02d25e0727c06da06de6efa1ea46c1e4b81b5.tar.xz
wireguard-openbsd-53c02d25e0727c06da06de6efa1ea46c1e4b81b5.zip
only regen pkg-config files when required; ok jasper
Diffstat (limited to 'lib/libfuse')
-rw-r--r--lib/libfuse/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libfuse/Makefile b/lib/libfuse/Makefile
index 273c7ddddc0..090dfcf1970 100644
--- a/lib/libfuse/Makefile
+++ b/lib/libfuse/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2016/03/30 06:38:42 jmc Exp $
+# $OpenBSD: Makefile,v 1.9 2016/09/04 09:54:25 natano Exp $
LIB= fuse
MAN= fuse_main.3
@@ -29,8 +29,10 @@ includes:
eval "$$j"; \
done
-beforeinstall:
+${PC_FILES}: fuse_private.h
/bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR}
+
+beforeinstall: ${PC_FILES}
${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \
-m ${SHAREMODE} ${.OBJDIR}/${PC_FILES} ${DESTDIR}/usr/lib/pkgconfig/