import
[s-roff.git] / contrib / pic2graph / Makefile.sub
blobd01a4353d44127e97a03623088d92407eb12f08f
1 MAN1=pic2graph.n
2 CLEANADD=pic2graph
4 all: pic2graph
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 $@
13 install_data: pic2graph
14         -test -d $(bindir) || $(mkinstalldirs) $(bindir)
15         -rm -f $(bindir)/pic2graph
16         $(INSTALL_SCRIPT) pic2graph $(bindir)/pic2graph
18 uninstall_sub:
19         -rm -f $(bindir)/pic2graph