summaryrefslogtreecommitdiffstats
path: root/contrib/groff/nroff/Makefile.sub
blob: fa6bc4dcc491d646e03482717da09b18973c5b9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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_SCRIPT) nroff $(bindir)/$(NAMEPREFIX)nroff

uninstall_sub:
	-rm -f $(bindir)/$(NAMEPREFIX)nroff
OpenPOWER on IntegriCloud