From 394b2bf04651d62194c7faa836899d33ca3ed017 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 27 Oct 2003 06:30:29 +0000 Subject: 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. --- fc-list/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'fc-list') 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) -- cgit v1.2.3