freebsd-dev/contrib/groff/nroff/Makefile.sub
1996-09-07 16:18:32 +00:00

18 lines
314 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
-rm -f $(bindir)/$(NAMEPREFIX)nroff
$(INSTALL_PROGRAM) nroff $(bindir)/$(NAMEPREFIX)nroff
uninstall_sub:
-rm -f $(bindir)/$(NAMEPREFIX)nroff