PageRenderTime 24ms CodeModel.GetById 18ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/src/roff/nroff/Makefile.sub

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 20 lines | 16 code | 4 blank | 0 comment | 0 complexity | 67d01840f2426734b76afb1858ad5c75 MD5 | raw file
 1MAN1=nroff.n
 2NAMEPREFIX=$(g)
 3CLEANADD=nroff
 4
 5all: nroff
 6
 7nroff: nroff.sh $(SH_DEPS_SED_SCRIPT)
 8	rm -f $@
 9	sed -f $(SH_DEPS_SED_SCRIPT) \
10	-e $(SH_SCRIPT_SED_CMD) \
11	-e "s|@VERSION@|$(version)$(revision)|" $(srcdir)/nroff.sh >$@
12	chmod +x $@
13
14install_data: nroff
15	-test -d $(bindir) || $(mkinstalldirs) $(bindir)
16	-rm -f $(bindir)/$(NAMEPREFIX)nroff
17	$(INSTALL_SCRIPT) nroff $(bindir)/$(NAMEPREFIX)nroff
18
19uninstall_sub:
20	-rm -f $(bindir)/$(NAMEPREFIX)nroff