/contrib/groff/contrib/grap2graph/Makefile.sub
https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 19 lines · 15 code · 4 blank · 0 comment · 0 complexity · 504958170b3791e4808bddf169291c6e MD5 · raw file
- MAN1=grap2graph.n
- CLEANADD=grap2graph
- all: grap2graph
- grap2graph: grap2graph.sh
- rm -f $@; \
- sed -e "s|@g@|$(g)|g" \
- -e "s|@VERSION@|$(version)$(revision)|" \
- -e $(SH_SCRIPT_SED_CMD) $(srcdir)/grap2graph.sh >$@; \
- chmod +x $@
- install_data: grap2graph
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/grap2graph
- $(INSTALL_SCRIPT) grap2graph $(bindir)/grap2graph
- uninstall_sub:
- -rm -f $(bindir)/grap2graph