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