source: libcaca/trunk/doc/Makefile.am @ 270

Last change on this file since 270 was 270, checked in by Sam Hocevar, 16 years ago
  • configure.ac NEWS: + Prepared release 0.4.
  • src/graphics.c README BUGS TODO: + Updated documentation.
  • Makefile.am doc/Makefile.am: + Install the generated doxygen documentation.
File size: 933 bytes
Line 
1EXTRA_DIST = doxygen.cfg.in footer.html header.html $(man_MANS)
2
3man_MANS = caca-config.1 cacademo.1 caca-spritedit.1 cacaview.1
4
5if DOXYGEN
6htmldoc_DATA = html/doxygen.css html/doxygen.png
7htmldocdir = $(datadir)/doc/libcaca-dev/html
8if LATEX
9psdoc_DATA = latex/refman.ps
10psdocdir = $(datadir)/doc/libcaca-dev/ps
11endif
12endif
13
14html/doxygen.css html/doxygen.png: stamp-doxygen
15latex/refman.ps: stamp-latex
16
17stamp-doxygen:
18if DOXYGEN
19        doxygen doxygen.cfg
20        touch stamp-doxygen
21endif
22
23stamp-latex: stamp-doxygen
24if DOXYGEN
25if LATEX
26        cd latex && $(MAKE) $(AM_CFLAGS) ps
27        touch stamp-latex
28endif
29endif
30
31clean: clean-local
32clean-local:
33        -rm -Rf html latex man
34        -rm -f stamp-latex stamp-doxygen
35
36install-data-local:
37if DOXYGEN
38        $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/libcaca-dev/html
39        cp html/*.html $(DESTDIR)$(datadir)/doc/libcaca-dev/html
40        $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
41        cp man/man3/*.3caca $(DESTDIR)$(mandir)/man3
42endif
43
Note: See TracBrowser for help on using the repository browser.