Deleted Added
full compact
Makefile (54351) Makefile (85214)
1# $FreeBSD: head/share/examples/Makefile 54351 1999-12-09 09:35:36Z marcel $
1# $FreeBSD: head/share/examples/Makefile 85214 2001-10-20 04:18:13Z darrenr $
2#
3# Doing a make install builds /usr/share/examples
4
2#
3# Doing a make install builds /usr/share/examples
4
5DIRS!= for i in *; do if test -d $$i -a $$i != CVS; then echo $$i; fi; done
5DIRS!= for i in *; do \
6 if test -d $$i -a $$i != CVS -a $$i != ipfilter; then \
7 echo $$i; \
8 fi; \
9 done
6
7DDIR= ${DESTDIR}/usr/share/examples
8
9NOOBJ= noobj
10
11# Define SHARED to indicate whether you want symbolic links to the system
12# source (``symlinks''), or a separate copy (``copies''); (latter useful
13# in environments where it's not possible to keep /sys publicly readable)

--- 16 unchanged lines hidden (view full) ---

30 rm -rf ${DDIR}/${dir}; ln -s ${.CURDIR}/${dir} ${DDIR}
31.endfor
32
33etc-examples:
34.if ${SHARED} != "symlinks"
35 (cd ${.CURDIR}/../../etc; ${MAKE} etc-examples)
36.endif
37
10
11DDIR= ${DESTDIR}/usr/share/examples
12
13NOOBJ= noobj
14
15# Define SHARED to indicate whether you want symbolic links to the system
16# source (``symlinks''), or a separate copy (``copies''); (latter useful
17# in environments where it's not possible to keep /sys publicly readable)

--- 16 unchanged lines hidden (view full) ---

34 rm -rf ${DDIR}/${dir}; ln -s ${.CURDIR}/${dir} ${DDIR}
35.endfor
36
37etc-examples:
38.if ${SHARED} != "symlinks"
39 (cd ${.CURDIR}/../../etc; ${MAKE} etc-examples)
40.endif
41
38.include <bsd.prog.mk>
42.if ${SHARED} != "symlinks"
43SUBDIR= ipfilter
44.endif
45
46.include <bsd.subdir.mk>