You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- EXTRA_DIST = doxygen.cfg.in footer.html header.html $(man_MANS)
-
- man_MANS = caca-config.1 cacademo.1 cacaview.1
-
- if DOXYGEN
- htmldoc_DATA = html/doxygen.css
- htmldocdir = $(datadir)/doc/libcaca-dev/html
- if LATEX
- psdoc_DATA = latex/libcaca.ps
- psdocdir = $(datadir)/doc/libcaca-dev/ps
- endif
- endif
-
- html/doxygen.css html/doxygen.png: stamp-doxygen
- latex/libcaca.ps: stamp-latex
-
- stamp-doxygen:
- if DOXYGEN
- doxygen doxygen.cfg
- touch stamp-doxygen
- endif
-
- stamp-latex: stamp-doxygen
- if DOXYGEN
- if LATEX
- rm -f latex/libcaca.tex latex/libcaca.ps
- mv latex/refman.tex latex/libcaca.tex
- sed 's/setlength{/renewcommand{/' latex/libcaca.tex > latex/refman.tex
- cd latex && $(MAKE) $(AM_CFLAGS) ps
- mv latex/refman.ps latex/libcaca.ps
- touch stamp-latex
- endif
- endif
-
- clean: clean-local
- clean-local:
- -rm -Rf html latex man
- -rm -f stamp-latex stamp-doxygen
-
- install-data-local:
- if DOXYGEN
- $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/libcaca-dev/html
- cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \
- $(DESTDIR)$(datadir)/doc/libcaca-dev/html
- $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
- cp man/man3/*.3caca $(DESTDIR)$(mandir)/man3
- $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
- rm -f $(DESTDIR)$(mandir)/man1/cacafire.1
- ln -s cacademo.1 $(DESTDIR)$(mandir)/man1/cacafire.1
- rm -f $(DESTDIR)$(mandir)/man1/cacaball.1
- ln -s cacademo.1 $(DESTDIR)$(mandir)/man1/cacaball.1
- endif
|