summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-02 18:19:54 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-02 18:19:54 +0000
commite75aadd2e702dcbd483949dcec22aa6d39942f3d (patch)
tree146f5ca94d488c213c77f97153c0142cbbfc2245
parent04b0e0ddc2593fec6cb33e1e2cae2d38493c3385 (diff)
Add explicit all-local targets so Solaris make can build, since it won't
recursively follow the implicit targets (.bdf -> -ISO-8859-1.bdf -> pcf.gz) Fix a couple of remaining GNU-make-isms
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c1508b4..80d7f09 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -245,7 +245,7 @@ SUFFIXES = .bdf .pcf.gz t.bdf \
@rm -f $@
$(UCS2ANY) $^ $(UTIL_DIR)/map-JISX0201.1976-0 JISX0201.1976-0
-$(TRUNC_PCF_FILES): %.pcf.gz: %t.bdf
+t.bdf.pcf.gz:
@rm -f $@
$(BDFTOPCF) -t $^ | gzip > $@
@@ -285,10 +285,13 @@ BUILT_BDF_FILES = \
$(ISO8859_16_BDF_FILES) \
$(KOI8_R_BDF_FILES) \
$(JISX0201_BDF_FILES)
+
CLEANFILES = $(font_DATA) $(TRUNC_BDF_FILES) $(BUILT_BDF_FILES)
EXTRA_DIST = $(BDF_FILES) autogen.sh
+all-local: $(BUILT_BDF_FILES) $(font_DATA)
+
install-data-hook:
@rm -f $(DESTDIR)$(fontdir)/fonts.scale
$(MKFONTSCALE) $(DESTDIR)$(fontdir)