summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-04-19 23:13:09 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-04-19 23:13:09 +0000
commit5708daaac78361a8fd8677bf4387bd49694d2e57 (patch)
treecba9af7ed35403ac1c0269a231604e4f7b1e63a1 /doc/Makefile.am
parent9e7ca408e3ba5389e2ee3b5c0746cce501468cc7 (diff)
downloadxine-lib-5708daaac78361a8fd8677bf4387bd49694d2e57.tar.gz
xine-lib-5708daaac78361a8fd8677bf4387bd49694d2e57.tar.bz2
Add doxygen support. just do 'make docs', and html version will be
created into doc/xine-lib-API/html subdir. This is a pre-alpha API documentation, you're warned ;-). CVS patchset: 7 CVS date: 2001/04/19 23:13:09
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am19
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index a463f1b98..79c4deebc 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,7 +1,7 @@
SUBDIRS = man
-EXTRA_DIST = $(docs_DOCS) MRL.txt dataflow.dia
+EXTRA_DIST = $(docs_DOCS) MRL.txt dataflow.dia xine-lib-API.cfg
docdir = $(prefix)/share/doc/xine
docs_DOCS = README README.syncfb README.freebsd FAQ bug_report_form
@@ -30,12 +30,27 @@ uninstall-local:
done
+docs:
+ @if test x"$$DOXYGEN" != "xno"; then \
+ echo -n " + Creating docs: "; \
+ cp ../misc/xine_logo.png ./xine-lib-API; \
+ echo -e "<HTML>\n<HEAD>\n<TITLE>\$$projectname</TITLE>\n<IMG SRC=\"../xine_logo.png\" alt=\"xine logo\" ALIGN=CENTER WIDTH=100% CELLPADDING=0 BORDER=0>\n</HEAD>\n<BODY BGCOLOR=#000000 TEXT=#ccccFF LINK=#a0a0FF VLINK=#40ddff ALINK=#ffffff leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n" > ./xine-lib-API/xine_header.html; \
+ $(DOXYGEN) xine-lib-API.cfg; \
+ echo "done.";\
+ fi
+
+
+erase-docs:
+ @rm -rf xine-lib-API/html
+ @rm xine-lib-API/xine_header.html xine-lib-API/xine_logo.png
+
+
debug:
mostlyclean-generic:
-rm -f *~ \#* .*~ .\#*
-maintainer-clean-generic:
+maintainer-clean-generic: erase-docs
-@echo "This command is intended for maintainers to use;"
-@echo "it deletes files that may require special tools to rebuild."
-rm -f Makefile.in