# ~jhs/public_html/src/bsd/jhs/etc/Makefile all: @echo "You might want make distrib-dirs" @echo "You might want make install" distrib-dirs: @echo dummy label distrib-dirs @# later create delivery directories etc, akin to src/etc/Makefile @echo "Consider: make install" FLAGS= FLAGS += -d # -d Ignore everything except directory type files. FLAGS += -e # -e Don't complain about files that are in the file hierarchy, but not # in the specification. # Also protects from mtree killing a system if DESTDIR=/ FLAGS += -x # Don't descend below mount points in the file hierarchy. FLAGS += -U # -U Modify the owner, group and permissions of existing files to match # the specification and create any missing directories or symbolic # links. User, group and permissions must all be specified for miss- # ing directories to be created. Corrected mismatches are not con- # sidered errors. DESTDIR ?= / clean: # nothing to do install mtree: @echo "Installing to ${DESTDIR} from ${.CURDIR}" mkdir -p ${DESTDIR} cd ${DESTDIR} && mtree ${FLAGS} -f ${.CURDIR}/berklix.mtree install -c \ ${.CURDIR}/../../../../../public_html/src/bsd/fixes/FreeBSD/src/jhs/share/mk/berklix*.mk \ ${DESTDIR}/usr/share/mk/ install -c \ ${.CURDIR}/../../../../../public_html/standards/umlauts.rof \ ${DESTDIR}/usr/share/vsl/ # /usr/ports/Mk/bsd.port.mk:LOCALBASE?= ${DESTDIR}/usr/local obj: .include # so cleandir does not break