summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/examples/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index 3591fc6..1f1b7e4 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -2,7 +2,11 @@
#
# Doing a make install builds /usr/share/examples
-DIRS!= for i in *; do if test -d $$i -a $$i != CVS; then echo $$i; fi; done
+DIRS!= for i in *; do \
+ if test -d $$i -a $$i != CVS -a $$i != ipfilter; then \
+ echo $$i; \
+ fi; \
+ done
DDIR= ${DESTDIR}/usr/share/examples
@@ -35,4 +39,8 @@ etc-examples:
(cd ${.CURDIR}/../../etc; ${MAKE} etc-examples)
.endif
-.include <bsd.prog.mk>
+.if ${SHARED} != "symlinks"
+SUBDIR= ipfilter
+.endif
+
+.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud