1MAN1=pic2graph.n
2CLEANADD=pic2graph
3
4all: pic2graph
5
6pic2graph: 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
13install_data: pic2graph
14	-test -d $(bindir) || $(mkinstalldirs) $(bindir)
15	-rm -f $(bindir)/pic2graph
16	$(INSTALL_SCRIPT) pic2graph $(bindir)/pic2graph
17
18uninstall_sub:
19	-rm -f $(bindir)/pic2graph
20