doc: Fix distcheck error again...

This commit is contained in:
Akira TAGOH 2012-06-11 18:39:37 +09:00
parent e8f16c9343
commit fdb1155035
1 changed files with 9 additions and 6 deletions

View File

@ -82,9 +82,9 @@ DOC_FUNCS_FNCS = \
fcstrset.fncs \ fcstrset.fncs \
fcvalue.fncs \ fcvalue.fncs \
$(NULL) $(NULL)
SGML_FILES = \ SGML_FILES = \
$(srcdir)/fontconfig-user.sgml \ fontconfig-user.sgml \
$(srcdir)/fontconfig-devel.sgml \ fontconfig-devel.sgml \
$(NULL) $(NULL)
LOCAL_SGML_FILES = \ LOCAL_SGML_FILES = \
local-fontconfig-user.sgml \ local-fontconfig-user.sgml \
@ -156,7 +156,7 @@ if CROSS_COMPILING
else else
.fncs.sgml: .fncs.sgml:
$(AM_V_GEN) $(RM) $@; \ $(AM_V_GEN) $(RM) $@; \
$(builddir)/edit-sgml$(EXEEXT) $(srcdir)/func.sgml < '$*.fncs' > $*.sgml $(builddir)/edit-sgml$(EXEEXT) $(srcdir)/func.sgml < '$(srcdir)/$*.fncs' > $*.sgml
endif endif
.sgml.txt: .sgml.txt:
$(AM_V_GEN) $(RM) $@; \ $(AM_V_GEN) $(RM) $@; \
@ -198,13 +198,16 @@ $(HTML_DIR): local-fontconfig-devel.sgml $(DOCS_DEPS)
$(AM_V_GEN) $(RM) -r $@; \ $(AM_V_GEN) $(RM) -r $@; \
$(DOC2HTML) -V '%use-id-as-filename%' -o $@ local-fontconfig-devel.sgml $(DOC2HTML) -V '%use-id-as-filename%' -o $@ local-fontconfig-devel.sgml
local-fontconfig-user.sgml: $(srcdir)/fontconfig-user.sgml local-fontconfig-user.sgml: $(srcdir)/fontconfig-user.sgml
$(AM_V_GEN) $(LN_S) $(srcdir)/fontconfig-user.sgml $@ $(AM_V_GEN) $(LN_S) $(srcdir)/fontconfig-user.sgml $@; \
[ ! -f $(builddir)/fontconfig-user.sgml ] && cp -a $(srcdir)/fontconfig-user.sgml $(builddir)/fontconfig-user.sgml
local-fontconfig-devel.sgml: $(srcdir)/fontconfig-devel.sgml local-fontconfig-devel.sgml: $(srcdir)/fontconfig-devel.sgml
$(AM_V_GEN) $(LN_S) $(srcdir)/fontconfig-devel.sgml $@ $(AM_V_GEN) $(LN_S) $(srcdir)/fontconfig-devel.sgml $@; \
[ ! -f $(builddir)/fontconfig-devel.sgml ] && cp -a $(srcdir)/fontconfig-devel.sgml $(builddir)/fontconfig-devel.sgml
# #
all-local: $(BUILT_DOCS) $(HTML_DIR)/* all-local: $(BUILT_DOCS) $(HTML_DIR)/*
clean-local: clean-local:
$(RM) -r $(HTML_DIR) devel-man $(RM) -r $(HTML_DIR) devel-man
[ "x$(builddir)" != "$(srcdir)" ] && $(RM) $(builddir)/fontconfig-user.sgml $(builddir)/fontconfig-devel.sgml
else else
htmldoc_DATA += $(srcdir)/$(HTML_DIR)/* htmldoc_DATA += $(srcdir)/$(HTML_DIR)/*
all-local: all-local: