diff options
Diffstat (limited to 'src/roff/nroff/Makefile.sub')
-rw-r--r-- | src/roff/nroff/Makefile.sub | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/roff/nroff/Makefile.sub b/src/roff/nroff/Makefile.sub new file mode 100644 index 00000000..275db4d1 --- /dev/null +++ b/src/roff/nroff/Makefile.sub @@ -0,0 +1,18 @@ +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_PROGRAM) nroff $(bindir)/$(NAMEPREFIX)nroff + +uninstall_sub: + -rm -f $(bindir)/$(NAMEPREFIX)nroff |