mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
19 lines
363 B
Makefile
19 lines
363 B
Makefile
MAN1=nroff.n
|
|
NAMEPREFIX=$(g)
|
|
CLEANADD=nroff
|
|
|
|
all: nroff
|
|
|
|
nroff: nroff.sh
|
|
rm -f $@
|
|
sed "$(SH_SCRIPT_SED_CMD)" $(srcdir)/nroff.sh >$@
|
|
chmod +x $@
|
|
|
|
install_data: nroff
|
|
-test -d $(bindir) || $(mkinstalldirs) $(bindir)
|
|
-rm -f $(bindir)/$(NAMEPREFIX)nroff
|
|
$(INSTALL_SCRIPT) nroff $(bindir)/$(NAMEPREFIX)nroff
|
|
|
|
uninstall_sub:
|
|
-rm -f $(bindir)/$(NAMEPREFIX)nroff
|