summaryrefslogtreecommitdiff
path: root/font
diff options
context:
space:
mode:
authorwl <wl>2011-12-26 08:34:04 +0000
committerwl <wl>2011-12-26 08:34:04 +0000
commit71444e51e3e4141e47ae145a862269a172f2f3f5 (patch)
tree9b9ccf63313c7a9bdf13b32c4ceb16e8e012a4a3 /font
parent57e13454ff85c56e531fd2f28721ef988cce3d61 (diff)
downloadgroff-71444e51e3e4141e47ae145a862269a172f2f3f5.tar.gz
* font/devpdf/Makefile.sub: Only build fonts on first `make'.
Diffstat (limited to 'font')
-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 \