1 # Makefile.sub for `gropdf'
3 # File position: <groff-source>/src/devices/gropbf/Makefile.sub
5 # Copyright (C) 2011-2014 Free Software Foundation, Inc.
6 # Written by Deri James <deri@chuzzlewit.demon.co.uk>
8 # This file is part of groff.
10 # groff is free software; you can redistribute it and/or modify it under
11 # the terms of the GNU General Public License as published by the Free
12 # Software Foundation, either version 3 of the License, or
13 # (at your option) any later version.
15 # groff is distributed in the hope that it will be useful, but WITHOUT ANY
16 # WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 # You should have received a copy of the GNU General Public License
21 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23 ########################################################################
43 gropdf: gropdf.pl $(SH_DEPS_SED_SCRIPT)
45 sed -f $(SH_DEPS_SED_SCRIPT) \
46 -e "s|@VERSION@|$(version)$(revision)|" \
47 -e "s|@PERL@|$(PERL)|" \
48 -e "s|@GROFF_FONT_DIR@|$(fontpath)|" \
49 -e "s|@RT_SEP@|$(RT_SEP)|" $(srcdir)/gropdf.pl >$@
52 pdfmom: pdfmom.pl $(SH_DEPS_SED_SCRIPT)
54 sed -f $(SH_DEPS_SED_SCRIPT) \
55 -e "s|@VERSION@|$(version)$(revision)|" \
56 -e "s|@PERL@|$(PERL)|" $(srcdir)/pdfmom.pl >$@
60 -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
61 for f in $(CMDFILES); do \
62 $(RM) $(DESTDIR)$(bindir)/$$f; \
63 $(INSTALL_SCRIPT) $$f $(DESTDIR)$(bindir)/$$f; \
67 -for f in $(CMDFILES); do $(RM) $(DESTDIR)$(bindir)/$$f; done
69 ########################################################################
71 ########################################################################