summaryrefslogtreecommitdiff
path: root/fc-glyphname
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2003-10-27 06:30:29 +0000
committerKeith Packard <keithp@keithp.com>2003-10-27 06:30:29 +0000
commit394b2bf04651d62194c7faa836899d33ca3ed017 (patch)
treee78a2199f53ca1212dc48ef1feea9ea7a4d9f0bc /fc-glyphname
parent3541556bd38d6b1a3fffe1a661edce2f8d60e06a (diff)
Attempts to fix 'make distcheck' work. Things are progressing pretty well,
but there are still failures long into the process dealing with docs (as always). The big changes here are mostly to make $(srcdir) != "." work correctly, fixing the docbook related sections and fc-lang were particularily tricky. Docbook refuses to load system entities from anywhere other than where the original .sgml file was located, so no luck looking in "." for the configure-generated version.sgml and confdir.sgml files. fc-lang needed help finding .orth files; added a -d option to set the directory as the least evil of many options. Now to go use a faster machine and try and wring out the last issues.
Diffstat (limited to 'fc-glyphname')
-rw-r--r--fc-glyphname/Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/fc-glyphname/Makefile.am b/fc-glyphname/Makefile.am
index 8063a38..b379e38 100644
--- a/fc-glyphname/Makefile.am
+++ b/fc-glyphname/Makefile.am
@@ -22,9 +22,10 @@
# PERFORMANCE OF THIS SOFTWARE.
#
-INCLUDES=-I../src $(FREETYPE_CFLAGS)
+INCLUDES=-I${top_srcdir}/src $(FREETYPE_CFLAGS)
TMPL=fcglyphname.tmpl.h
+STMPL=${top_srcdir}/fc-glyphname/${TMPL}
TARG=fcglyphname.h
noinst_PROGRAMS=fc-glyphname
@@ -34,9 +35,13 @@ noinst_HEADERS=$(TARG)
noinst_MANS=fc-glyphname.man
GLYPHNAME=zapfdingbats.txt
+SGLYPHNAME=${top_srcdir}/fc-glyphname/zapfdingbats.txt
EXTRA_DIST=$(TMPL) $(GLYPHNAME)
-$(TARG): $(TMPL) fc-glyphname $(GLYPHNAME)
+$(TARG): $(STMPL) fc-glyphname $(SGLYPHNAME)
rm -f $(TARG)
- ./fc-glyphname $(GLYPHNAME) < $(TMPL) > $(TARG)
+ ./fc-glyphname $(SGLYPHNAME) < $(STMPL) > $(TARG)
+
+clean::
+ $(RM) $(TARG)