# ~jhs/public_html/src/Makefile by Julian Stacey SUBDIR += bsd all: automatic.html fixes.html index.html obj BLA!= cd ${.CURDIR} ; find bsd/fixes -type f -print HEAD=head -6 # The head above should be changed to cat till blank line # NO_OBJ=YES fixes.html: fixes.lmth # It generates fixes.lmth in /usr/obj/`pwd` fixes.lmth: ${BLA} Makefile echo "
Generated `date` by " >> $@ echo "Makefile
" >> $@ (cd ${.CURDIR} ; find bsd/fixes -type f -print ) | \ grep -v .ignore | sort > $@.tmp.1 echo "
' >> $@
chmod 644 $@
clean: # pre 4.7 _SUBDIRUSE
rm -f fixes.html.tmp.[12]
@echo "You might want \"make cleanmore\""
cleanmore: clean
rm -f ${.CURDIR}/fixes.html ${.CURDIR}/fixes.lmth
@echo "Web browsers may miss fixes.html"
.include