summaryrefslogtreecommitdiff
path: root/font/devpdf/Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'font/devpdf/Makefile.sub')
-rw-r--r--font/devpdf/Makefile.sub12
1 files changed, 5 insertions, 7 deletions
diff --git a/font/devpdf/Makefile.sub b/font/devpdf/Makefile.sub
index c47ff8e7..be607cf1 100644
--- a/font/devpdf/Makefile.sub
+++ b/font/devpdf/Makefile.sub
@@ -50,7 +50,7 @@ DISTFILES=\
RM=rm -f
-all: DESC BuildFoundries
+all: DESC
DESC: DESC.in
-rm -f DESC
@@ -62,8 +62,6 @@ DESC: DESC.in
fi
-rm -f Foundry
cat $(srcdir)/Foundry.in >$(top_builddir)/font/devpdf/Foundry
-
-BuildFoundries: util/BuildFoundries.pl $(SH_DEPS_SED_SCRIPT)
-test -d $(top_builddir)/font/devpdf/enc \
|| $(mkinstalldirs) $(top_builddir)/font/devpdf/enc
-test -d $(top_builddir)/font/devpdf/map \
@@ -79,7 +77,7 @@ BuildFoundries: util/BuildFoundries.pl $(SH_DEPS_SED_SCRIPT)
cp -f $(top_srcdir)/font/devps/generate/symbolchars \
$(top_builddir)/font/devpdf/map
-test -d util || $(mkinstalldirs) util
- $(RM) util/$@
+ $(RM) util/BuildFoundries
if test -n "$(PERLPATH)"; then \
sed -f $(SH_DEPS_SED_SCRIPT) \
-e "s|/usr/bin/perl|$(PERLPATH)|" \
@@ -87,15 +85,15 @@ BuildFoundries: util/BuildFoundries.pl $(SH_DEPS_SED_SCRIPT)
-e "s|@VERSION@|$(version)$(revision)|" \
-e "s|@GROFF_FONT_DIR@|$(fontdir)|" \
$(srcdir)/util/BuildFoundries.pl \
- >$(top_builddir)/font/devpdf/util/$@ ;\
+ >$(top_builddir)/font/devpdf/util/BuildFoundries ;\
else \
sed -f $(SH_DEPS_SED_SCRIPT) \
-e "s|@VERSION@|$(version)$(revision)|" \
-e "s|@GROFF_FONT_DIR@|$(fontdir)|" \
$(srcdir)/util/BuildFoundries.pl \
- >$(top_builddir)/font/devpdf/util/$@ ;\
+ >$(top_builddir)/font/devpdf/util/BuildFoundries ;\
fi
- chmod +x util/$@
+ chmod +x util/BuildFoundries
echo "# foundry ps name psfile" > $(top_builddir)/font/devpdf/download
PATH="$(top_builddir)/src/utils/afmtodit:${GROFF_PATH_SEPARATOR}${PATH}" \
util/BuildFoundries $(top_builddir)/font/devpdf \