summaryrefslogtreecommitdiff
path: root/contrib/pic2graph/Makefile.sub
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-08-10 22:16:11 +0000
committerwlemb <wlemb>2001-08-10 22:16:11 +0000
commit5559a2d8e74e6a83aa23a10cc3f3b146773fded7 (patch)
treee5acd84ceda20f903d53c8d0294cae8b38e91d9a /contrib/pic2graph/Makefile.sub
parentdda32cf9b49e1ec2536e150a69a396ea806c8a78 (diff)
downloadgroff-5559a2d8e74e6a83aa23a10cc3f3b146773fded7.tar.gz
Initial revision
Diffstat (limited to 'contrib/pic2graph/Makefile.sub')
-rw-r--r--contrib/pic2graph/Makefile.sub19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/pic2graph/Makefile.sub b/contrib/pic2graph/Makefile.sub
new file mode 100644
index 00000000..d01a4353
--- /dev/null
+++ b/contrib/pic2graph/Makefile.sub
@@ -0,0 +1,19 @@
+MAN1=pic2graph.n
+CLEANADD=pic2graph
+
+all: pic2graph
+
+pic2graph: pic2graph.sh
+ rm -f $@; \
+ sed -e "s|@g@|$(g)|g" \
+ -e "s|@VERSION@|$(version)$(revision)|" \
+ -e $(SH_SCRIPT_SED_CMD) $(srcdir)/pic2graph.sh >$@; \
+ chmod +x $@
+
+install_data: pic2graph
+ -test -d $(bindir) || $(mkinstalldirs) $(bindir)
+ -rm -f $(bindir)/pic2graph
+ $(INSTALL_SCRIPT) pic2graph $(bindir)/pic2graph
+
+uninstall_sub:
+ -rm -f $(bindir)/pic2graph