diff options
Diffstat (limited to 'contrib/grap2graph/Makefile.sub')
-rw-r--r-- | contrib/grap2graph/Makefile.sub | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/grap2graph/Makefile.sub b/contrib/grap2graph/Makefile.sub new file mode 100644 index 00000000..5527618e --- /dev/null +++ b/contrib/grap2graph/Makefile.sub @@ -0,0 +1,19 @@ +MAN1=grap2graph.n +CLEANADD=grap2graph + +all: grap2graph + +grap2graph: grap2graph.sh + rm -f $@; \ + sed -e "s|@g@|$(g)|g" \ + -e "s|@VERSION@|$(version)$(revision)|" \ + -e $(SH_SCRIPT_SED_CMD) $(srcdir)/grap2graph.sh >$@; \ + chmod +x $@ + +install_data: grap2graph + -test -d $(bindir) || $(mkinstalldirs) $(bindir) + -rm -f $(bindir)/grap2graph + $(INSTALL_SCRIPT) grap2graph $(bindir)/grap2graph + +uninstall_sub: + -rm -f $(bindir)/grap2graph |