Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
OSNAME?= FreeBSD | OSNAME?= FreeBSD | ||||
SUBDIR= distextract distfetch partedit runconsoles scripts | SUBDIR= distextract distfetch partedit runconsoles scripts | ||||
SUBDIR_PARALLEL= | SUBDIR_PARALLEL= | ||||
SUBDIR_DEPEND_distfetch = distextract | |||||
SUBDIR_DEPEND_partedit = distextract | |||||
SCRIPTS= bsdinstall | SCRIPTS= bsdinstall | ||||
MAN= bsdinstall.8 | MAN= bsdinstall.8 | ||||
PACKAGE= bsdinstall | PACKAGE= bsdinstall | ||||
GENHDRS= opt_osname.h | |||||
SRCS+= ${GENHDRS} | |||||
CLEANFILES+= ${GENHDRS} | |||||
SCRIPTS+= startbsdinstall | SCRIPTS+= startbsdinstall | ||||
SCRIPTSDIR_startbsdinstall= ${LIBEXECDIR}/bsdinstall | SCRIPTSDIR_startbsdinstall= ${LIBEXECDIR}/bsdinstall | ||||
opt_osname.h: .PHONY | |||||
if ! grep -q "^#define OSNAME \"${OSNAME}\"$"" ${.TARGET}; then \ | |||||
echo "#define OSNAME \"${OSNAME}\"" > ${.TARGET}; \ | |||||
fi | |||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |