Blame docs/Makefile.am

Packit Service af52df
all-local: html-doc.stamp
Packit Service af52df
Packit Service af52df
html-doc.stamp: ${srcdir}/libbytesize-docs.xml ${srcdir}/libbytesize-sections.txt ${srcdir}/../src/bs_size.c ${srcdir}/../src/bs_size.h
Packit Service af52df
	touch ${builddir}/html-doc.stamp
Packit Service af52df
	test ${builddir} == ${srcdir} || cp ${srcdir}/libbytesize-sections.txt ${srcdir}/libbytesize-docs.xml ${builddir}
Packit Service af52df
	gtkdoc-scan --rebuild-types --module=libbytesize --source-dir=${srcdir}/../src/
Packit Service af52df
	gtkdoc-mkdb --module=libbytesize --output-format=xml --source-dir=${srcdir}/../src/ --source-suffixes=c,h
Packit Service af52df
	test -d ${builddir}/html || mkdir ${builddir}/html
Packit Service af52df
	(cd ${builddir}/html; gtkdoc-mkhtml libbytesize ${builddir}/../libbytesize-docs.xml)
Packit Service af52df
	gtkdoc-fixxref --module=libbytesize --module-dir=html  --html-dir=/usr/share/gtk-doc/html
Packit Service af52df
Packit Service af52df
clean-local:
Packit Service af52df
	-rm -rf ${builddir}/html
Packit Service af52df
	-rm -rf ${builddir}/xml
Packit Service af52df
	test ! -f ${builddir}/html-doc.stamp || rm ${builddir}/html-doc.stamp
Packit Service af52df
	test ${builddir} == ${srcdir} || rm -f ${builddir}/libbytesize-sections.txt ${builddir}/libbytesize-docs.xml
Packit Service af52df
Packit Service af52df
install-data-local:
Packit Service af52df
	test -d ${DESTDIR}${datadir}/gtk-doc/html/libbytesize || mkdir -p ${DESTDIR}${datadir}/gtk-doc/html/libbytesize
Packit Service af52df
	install -m0644 ${builddir}/html/* ${DESTDIR}${datadir}/gtk-doc/html/libbytesize/
Packit Service af52df
Packit Service af52df
uninstall-local:
Packit Service af52df
	-rm -rf ${DESTDIR}${datadir}/gtk-doc/html/libbytesize/
Packit Service af52df
Packit Service af52df
dist_noinst_DATA = ${srcdir}/libbytesize-sections.txt ${srcdir}/libbytesize-docs.xml
Packit Service af52df
Packit Service af52df
CLEANFILES = html.stamp sgml.stamp \
Packit Service af52df
	libbytesize-decl-list.txt \
Packit Service af52df
	libbytesize-decl.txt \
Packit Service af52df
	libbytesize-decl.txt.bak \
Packit Service af52df
	libbytesize-overrides.txt \
Packit Service af52df
	libbytesize-undeclared.txt \
Packit Service af52df
	libbytesize-undocumented.txt \
Packit Service af52df
	libbytesize-unused.txt \
Packit Service af52df
	libbytesize.types
Packit Service af52df
Packit Service af52df
MAINTAINERCLEANFILES = Makefile.in libbytesize-docs.xml