2011-02-18 14:54:34 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2022-05-13 16:35:43 +00:00
|
|
|
OSNAME?= FreeBSD
|
2022-10-03 16:09:16 +00:00
|
|
|
SUBDIR= distextract distfetch partedit runconsoles scripts
|
2015-09-26 14:13:51 +00:00
|
|
|
SUBDIR_PARALLEL=
|
2011-02-18 14:54:34 +00:00
|
|
|
SCRIPTS= bsdinstall
|
2011-06-11 21:44:07 +00:00
|
|
|
MAN= bsdinstall.8
|
2015-03-18 12:28:17 +00:00
|
|
|
PACKAGE= bsdinstall
|
2022-05-13 16:35:43 +00:00
|
|
|
GENHDRS= opt_osname.h
|
|
|
|
SRCS+= ${GENHDRS}
|
|
|
|
CLEANFILES+= ${GENHDRS}
|
|
|
|
|
2022-10-03 16:09:16 +00:00
|
|
|
SCRIPTS+= startbsdinstall
|
|
|
|
SCRIPTSDIR_startbsdinstall= ${LIBEXECDIR}/bsdinstall
|
|
|
|
|
2022-05-13 16:35:43 +00:00
|
|
|
opt_osname.h: .PHONY
|
|
|
|
if ! grep -q "^#define OSNAME \"${OSNAME}\"$"" ${.TARGET}; then \
|
|
|
|
echo "#define OSNAME \"${OSNAME}\"" > ${.TARGET}; \
|
|
|
|
fi
|
2011-02-18 14:54:34 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|