/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

  1. MAN1=grap2graph.n
  2. CLEANADD=grap2graph
  3. all: grap2graph
  4. grap2graph: grap2graph.sh
  5. rm -f $@; \
  6. sed -e "s|@g@|$(g)|g" \
  7. -e "s|@VERSION@|$(version)$(revision)|" \
  8. -e $(SH_SCRIPT_SED_CMD) $(srcdir)/grap2graph.sh >$@; \
  9. chmod +x $@
  10. install_data: grap2graph
  11. -test -d $(bindir) || $(mkinstalldirs) $(bindir)
  12. -rm -f $(bindir)/grap2graph
  13. $(INSTALL_SCRIPT) grap2graph $(bindir)/grap2graph
  14. uninstall_sub:
  15. -rm -f $(bindir)/grap2graph