/contrib/groff/contrib/pic2graph/Makefile.sub

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 19 lines · 15 code · 4 blank · 0 comment · 0 complexity · ca2c9f68e893329885cae51588d3fc22 MD5 · raw file

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