Makefile revision 54312
1# $FreeBSD: head/share/examples/Makefile 54312 1999-12-08 13:47:30Z marcel $ 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 6 7DDIR= ${DESTDIR}/usr/share/examples 8 9NOOBJ= noobj 10 11all clean cleandir depend lint tags: 12 13beforeinstall: copies 14 (cd ${.CURDIR}/../../etc; ${MAKE} etc-examples) 15 16.for dir in ${DIRS} 17FILES!= find -L ${dir} \( -name CVS -prune \) -o -type f -print 18.for file in ${FILES} 19copies:: 20 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${file} ${DDIR}/${file} 21.endfor 22.endfor 23 24.include <bsd.prog.mk> 25