summaryrefslogtreecommitdiff
path: root/fc-lang/Makefile.am
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-lang/Makefile.am
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-lang/Makefile.am')
-rw-r--r--fc-lang/Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/fc-lang/Makefile.am b/fc-lang/Makefile.am
index fd4ba0e9..4fd0b3e4 100644
--- a/fc-lang/Makefile.am
+++ b/fc-lang/Makefile.am
@@ -22,9 +22,10 @@
# PERFORMANCE OF THIS SOFTWARE.
#
-INCLUDES=-I../src $(FREETYPE_CFLAGS)
+INCLUDES=-I${top_srcdir}/src $(FREETYPE_CFLAGS)
TMPL=fclang.tmpl.h
+STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
TARG=fclang.h
noinst_PROGRAMS=fc-lang
@@ -37,6 +38,9 @@ ORTH=@ORTH_FILES@
EXTRA_DIST=$(TMPL) $(ORTH)
-$(TARG): $(TMPL) fc-lang $(ORTH)
+$(TARG):$(ORTH) fc-lang $(STMPL)
rm -f $(TARG)
- ./fc-lang $(ORTH) < $(TMPL) > $(TARG)
+ ./fc-lang -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)
+
+clean::
+ $(RM) $(TARG)