diff options
Diffstat (limited to 'src/devices/gropdf/Makefile.sub')
-rw-r--r-- | src/devices/gropdf/Makefile.sub | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/devices/gropdf/Makefile.sub b/src/devices/gropdf/Makefile.sub index 30991e52..6aa409d4 100644 --- a/src/devices/gropdf/Makefile.sub +++ b/src/devices/gropdf/Makefile.sub @@ -1,4 +1,4 @@ -# Copyright (C) 2011 Free Software Foundation, Inc. +# Copyright (C) 2011-2012 Free Software Foundation, Inc. # Written by Deri James <deri@chuzzlewit.demon.co.uk> # # This file is part of groff. @@ -17,10 +17,12 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. MAN1=\ - gropdf.n + gropdf.n \ + pdfmom.n CMDFILES=\ - gropdf + gropdf \ + pdfmom MOSTLYCLEANADD=\ gropdf \ @@ -30,7 +32,7 @@ MOSTLYCLEANADD=\ RM=rm -f -all: gropdf +all: gropdf pdfmom gropdf: gropdf.pl $(SH_DEPS_SED_SCRIPT) @@ -42,6 +44,13 @@ gropdf: gropdf.pl $(SH_DEPS_SED_SCRIPT) -e "s|@RT_SEP@|$(RT_SEP)|" $(srcdir)/gropdf.pl >$@ chmod +x $@ +pdfmom: pdfmom.pl $(SH_DEPS_SED_SCRIPT) + $(RM) $@ + sed -f $(SH_DEPS_SED_SCRIPT) \ + -e "s|@VERSION@|$(version)$(revision)|" \ + -e "s|@PERLPATH@|$(PERLPATH)|" $(srcdir)/pdfmom.pl >$@ + chmod +x $@ + install_data: -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir) for f in $(CMDFILES); do \ |