2003-03-01 04:06:37 +01:00
|
|
|
DOC_MODULE=fontconfig
|
2003-03-07 08:12:51 +01:00
|
|
|
DOC2HTML=docbook2html
|
2003-03-01 04:06:37 +01:00
|
|
|
DOC2TXT=docbook2txt
|
2003-03-07 08:12:51 +01:00
|
|
|
DOC2MAN=docbook2man
|
2003-03-01 04:06:37 +01:00
|
|
|
|
|
|
|
TXT=fontconfig-user.txt fontconfig-devel.txt
|
2003-03-07 08:12:51 +01:00
|
|
|
HTML=fontconfig-user/index.html fontconfig-devel/index.html
|
2003-03-01 04:06:37 +01:00
|
|
|
SGML=fontconfig-user.sgml fontconfig-devel.sgml
|
|
|
|
|
2003-03-07 08:12:51 +01:00
|
|
|
DOC_FUNCS_FNCS=\
|
|
|
|
fcmatrix.fncs \
|
|
|
|
fccharset.fncs \
|
|
|
|
fcvalue.fncs \
|
2003-03-07 09:44:32 +01:00
|
|
|
fcpattern.fncs \
|
|
|
|
fcfontset.fncs \
|
|
|
|
fcobjectset.fncs \
|
|
|
|
fcobjecttype.fncs \
|
|
|
|
fcconstant.fncs \
|
|
|
|
fcblanks.fncs \
|
2003-03-07 20:01:41 +01:00
|
|
|
fcconfig.fncs \
|
|
|
|
fcinit.fncs \
|
|
|
|
fcatomic.fncs \
|
|
|
|
fcfreetype.fncs \
|
|
|
|
fcfile.fncs \
|
|
|
|
fcstrset.fncs \
|
|
|
|
fcstring.fncs
|
2003-03-07 08:12:51 +01:00
|
|
|
|
|
|
|
DOC_FUNCS_SGML=\
|
|
|
|
fcmatrix.sgml \
|
|
|
|
fccharset.sgml \
|
|
|
|
fcvalue.sgml \
|
2003-03-07 09:44:32 +01:00
|
|
|
fcpattern.sgml \
|
|
|
|
fcfontset.sgml \
|
|
|
|
fcobjectset.sgml \
|
|
|
|
fcobjecttype.sgml \
|
|
|
|
fcconstant.sgml \
|
|
|
|
fcblanks.sgml \
|
2003-03-07 20:01:41 +01:00
|
|
|
fcconfig.sgml \
|
|
|
|
fcinit.sgml \
|
|
|
|
fcatomic.sgml \
|
|
|
|
fcfreetype.sgml \
|
|
|
|
fcfile.sgml \
|
|
|
|
fcstrset.sgml \
|
|
|
|
fcstring.sgml
|
2003-03-07 08:12:51 +01:00
|
|
|
|
|
|
|
man3_MANS= \
|
|
|
|
FcCharSetAddChar.3 \
|
|
|
|
FcCharSetCopy.3 \
|
|
|
|
FcCharSetCount.3 \
|
|
|
|
FcCharSetCreate.3 \
|
|
|
|
FcCharSetDestroy.3 \
|
|
|
|
FcCharSetEqual.3 \
|
|
|
|
FcCharSetFirstPage.3 \
|
|
|
|
FcCharSetHasChar.3 \
|
|
|
|
FcCharSetIntersect.3 \
|
|
|
|
FcCharSetIntersectCount.3 \
|
|
|
|
FcCharSetIsSubset.3 \
|
|
|
|
FcCharSetNextPage.3 \
|
|
|
|
FcCharSetSubtract.3 \
|
|
|
|
FcCharSetSubtractCount.3 \
|
|
|
|
FcCharSetUnion.3 \
|
|
|
|
FcMatrixCopy.3 \
|
|
|
|
FcMatrixEqual.3 \
|
|
|
|
FcMatrixInit.3 \
|
|
|
|
FcMatrixMultiply.3 \
|
|
|
|
FcMatrixRotate.3 \
|
|
|
|
FcMatrixScale.3 \
|
|
|
|
FcMatrixShear.3 \
|
|
|
|
FcValueDestroy.3 \
|
|
|
|
FcValueSave.3
|
|
|
|
|
|
|
|
noinst_PROGRAMS=edit-sgml
|
|
|
|
edit_sgml_SOURCES=edit-sgml.c
|
|
|
|
|
2003-03-01 04:06:37 +01:00
|
|
|
DOCDIR=@DOCDIR@
|
|
|
|
TARGET_DIR=$(DOCDIR)
|
|
|
|
|
2003-03-07 08:12:51 +01:00
|
|
|
SUFFIXES=.fncs .sgml .txt .html
|
2003-03-01 04:06:37 +01:00
|
|
|
|
2003-03-07 08:12:51 +01:00
|
|
|
.fncs.sgml:
|
2003-03-01 04:06:37 +01:00
|
|
|
$(RM) $@
|
2003-03-07 08:12:51 +01:00
|
|
|
./edit-sgml func.sgml < $*.fncs > $*.sgml
|
2003-03-01 04:06:37 +01:00
|
|
|
|
|
|
|
.sgml.txt:
|
|
|
|
$(RM) $@
|
|
|
|
$(DOC2TXT) $*.sgml
|
|
|
|
|
2003-03-07 08:12:51 +01:00
|
|
|
EXTRA_DIST = $(TXT) $(HTML) $(SGML) $(man3_MANS)
|
2003-03-01 04:06:37 +01:00
|
|
|
|
2003-03-01 06:21:02 +01:00
|
|
|
if ENABLE_DOCS
|
|
|
|
DOCS=$(TXT) $(HTML)
|
2003-03-07 08:12:51 +01:00
|
|
|
all-local: all-local-docs
|
|
|
|
clean-local: clean-local-docs
|
|
|
|
install-data-local: install-local-docs
|
2003-03-01 06:21:02 +01:00
|
|
|
else
|
|
|
|
all-local:
|
2003-03-01 04:06:37 +01:00
|
|
|
clean-local:
|
|
|
|
install-data-local:
|
2003-03-01 06:21:02 +01:00
|
|
|
endif
|
|
|
|
|
2003-03-07 08:12:51 +01:00
|
|
|
$(man3_MANS): manpage.refs
|
|
|
|
|
|
|
|
$(DOCS): $(DOC_FUNCS_SGML)
|
2003-03-01 06:21:02 +01:00
|
|
|
|
2003-03-07 08:12:51 +01:00
|
|
|
manpage.refs: fontconfig-devel.sgml $(DOC_FUNCS_SGML)
|
|
|
|
$(DOC2MAN) fontconfig-devel.sgml
|
|
|
|
|
|
|
|
$(DOC_FUNCS_SGML): edit-sgml func.sgml
|
|
|
|
|
|
|
|
all-local-docs: $(DOCS)
|
|
|
|
|
|
|
|
clean-local-docs:
|
2003-03-01 06:21:02 +01:00
|
|
|
rm -f $(DOCS)
|
|
|
|
|
2003-03-07 08:12:51 +01:00
|
|
|
fontconfig-devel/index.html: fontconfig-devel.sgml
|
|
|
|
$(RM) -rf fontconfig-devel
|
|
|
|
docbook2html -o fontconfig-devel fontconfig-devel.sgml
|
|
|
|
|
|
|
|
fontconfig-user/index.html: fontconfig-user.sgml
|
|
|
|
$(RM) -rf fontconfig-user
|
|
|
|
docbook2html -o fontconfig-user fontconfig-user.sgml
|
|
|
|
|
|
|
|
install-local-docs:
|
2003-03-01 04:06:37 +01:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
|
2003-03-01 06:21:02 +01:00
|
|
|
for i in $(DOCS); do \
|
2003-03-01 04:06:37 +01:00
|
|
|
echo '-- Installing'$$i ; \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR)/$$i; \
|
|
|
|
done
|