147585b489
Override OSNAME to change the name of the OS in the installer. This is a first step, the shell changes will be separate. Reviewed by: allanjude Approved by: allanjude Differential Revision: https://reviews.freebsd.org/D34878 Sponsored by: Rubicon Communications, LLC ("Netgate")
19 lines
388 B
Makefile
19 lines
388 B
Makefile
# $FreeBSD$
|
|
|
|
OSNAME?= FreeBSD
|
|
SUBDIR= distextract distfetch partedit scripts
|
|
SUBDIR_PARALLEL=
|
|
SCRIPTS= bsdinstall
|
|
MAN= bsdinstall.8
|
|
PACKAGE= bsdinstall
|
|
GENHDRS= opt_osname.h
|
|
SRCS+= ${GENHDRS}
|
|
CLEANFILES+= ${GENHDRS}
|
|
|
|
opt_osname.h: .PHONY
|
|
if ! grep -q "^#define OSNAME \"${OSNAME}\"$"" ${.TARGET}; then \
|
|
echo "#define OSNAME \"${OSNAME}\"" > ${.TARGET}; \
|
|
fi
|
|
|
|
.include <bsd.prog.mk>
|