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