]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/groff/contrib/pic2graph/Makefile.sub
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / groff / contrib / pic2graph / Makefile.sub
1 MAN1=pic2graph.n
2 CLEANADD=pic2graph
3
4 all: pic2graph
5
6 pic2graph: pic2graph.sh
7         rm -f $@; \
8         sed -e "s|@g@|$(g)|g" \
9             -e "s|@VERSION@|$(version)$(revision)|" \
10             -e $(SH_SCRIPT_SED_CMD) $(srcdir)/pic2graph.sh >$@; \
11         chmod +x $@
12
13 install_data: pic2graph
14         -test -d $(bindir) || $(mkinstalldirs) $(bindir)
15         -rm -f $(bindir)/pic2graph
16         $(INSTALL_SCRIPT) pic2graph $(bindir)/pic2graph
17
18 uninstall_sub:
19         -rm -f $(bindir)/pic2graph