1 # Copyright (C) 2003-2014 Free Software Foundation, Inc.
3 # This file is part of groff.
5 # groff is free software; you can redistribute it and/or modify it under
6 # the terms of the GNU General Public License as published by the Free
7 # Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # groff is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21 MOSTLYCLEANADD=grap2graph
26 grap2graph: grap2graph.sh
27 sed -e "s|@g@|$(g)|g" \
28 -e "s|@VERSION@|$(version)$(revision)|" \
29 -e $(SH_SCRIPT_SED_CMD) $(srcdir)/grap2graph.sh >$@
32 install_data: grap2graph
33 -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
34 $(RM) $(DESTDIR)$(bindir)/grap2graph
35 $(INSTALL_SCRIPT) grap2graph $(DESTDIR)$(bindir)/grap2graph
38 $(RM) $(DESTDIR)$(bindir)/grap2graph
40 ########################################################################
42 ########################################################################