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

Last change on this file since 310 was 310, checked in by Sam Hocevar, 17 years ago
  • configure.ac NEWS: + Prepared the 0.6 release.
  • libcaca.spec: + Split the RPM into libcaca-devel and caca-utils. + More detailed descriptions. + Packages are now rpmlint clean.
  • doc/Makefile.am: + Symlink cacafire.1 to cacademo.1 upon manpage installation.
File size: 1.1 KB
RevLine 
[268]1EXTRA_DIST = doxygen.cfg.in footer.html header.html $(man_MANS)
[207]2
[215]3man_MANS = caca-config.1 cacademo.1 caca-spritedit.1 cacaview.1
[207]4
[270]5if DOXYGEN
[296]6htmldoc_DATA = html/doxygen.css
[270]7htmldocdir = $(datadir)/doc/libcaca-dev/html
8if LATEX
[275]9psdoc_DATA = latex/libcaca.ps
[270]10psdocdir = $(datadir)/doc/libcaca-dev/ps
11endif
12endif
[207]13
[270]14html/doxygen.css html/doxygen.png: stamp-doxygen
[275]15latex/libcaca.ps: stamp-latex
[270]16
[207]17stamp-doxygen:
18if DOXYGEN
19        doxygen doxygen.cfg
20        touch stamp-doxygen
21endif
22
23stamp-latex: stamp-doxygen
24if DOXYGEN
25if LATEX
[275]26        rm -f latex/libcaca.ps
[207]27        cd latex && $(MAKE) $(AM_CFLAGS) ps
[275]28        mv latex/refman.ps latex/libcaca.ps
[207]29        touch stamp-latex
30endif
31endif
32
33clean: clean-local
34clean-local:
[268]35        -rm -Rf html latex man
[207]36        -rm -f stamp-latex stamp-doxygen
37
[270]38install-data-local:
39if DOXYGEN
40        $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/libcaca-dev/html
[297]41        cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \
42          $(DESTDIR)$(datadir)/doc/libcaca-dev/html
[270]43        $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
44        cp man/man3/*.3caca $(DESTDIR)$(mandir)/man3
[310]45        $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
46        rm -f $(DESTDIR)$(mandir)/man1/cacafire.1
47        ln -s cacademo.1 $(DESTDIR)$(mandir)/man1/cacafire.1
[270]48endif
49
Note: See TracBrowser for help on using the repository browser.