summaryrefslogtreecommitdiff
path: root/fc-list
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-list
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-list')
-rw-r--r--fc-list/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/fc-list/Makefile.am b/fc-list/Makefile.am
index 6975361d..356c9f10 100644
--- a/fc-list/Makefile.am
+++ b/fc-list/Makefile.am
@@ -23,7 +23,9 @@
DOC2MAN = docbook2man
-SGML = fc-list.sgml
+FC_LIST_SRC=${top_srcdir}/fc-list
+
+SGML = ${FC_LIST_SRC}/fc-list.sgml
bin_PROGRAMS=fc-list
@@ -33,14 +35,14 @@ INCLUDES=$(FREETYPE_CFLAGS)
EXTRA_DIST=$(SGML)
-fc_list_LDADD = ../src/libfontconfig.la
+fc_list_LDADD = ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
-.sgml.1:
+${man_MANS}: ${SGML}
$(RM) $@
- $(DOC2MAN) $*.sgml
+ $(DOC2MAN) ${SGML}
$(RM) manpage.refs manpage.links
all-local: $(man_MANS)