root/branches/streaming-rework/doc/Makefile.am

Revision 250, 1.7 kB (checked in by pieterpalmers, 17 years ago)

- removed old streaming code
- removed some obsolete files
- moved utility classes to libutil
- don't do the doxygen processing on make all, explicit make doc in doc/ is now nescessary (speed)

Line 
1 ## Process this file with automake to produce Makefile.in
2 MAINTAINERCLEANFILES=Makefile.in
3
4 CLEANFILES=doxygen-build.stamp
5
6 DOX=reference.doxygen
7 DOXSOURCES=mainpage.dox 
8
9 EXTRA_DIST=mainpage.dox
10
11 INSTIMAGES=reference/html/doxygen.png
12
13 DOC_STAMPS=html-build.stamp
14
15 DOC_DIR=$(HTML_DIR)
16
17 doc: doxygen-build.stamp
18
19 doxygen-build.stamp: $(DOX) $(DOXSOURCES)
20         @echo '*** Running doxygen ***'
21         doxygen $(DOX)
22         touch doxygen-build.stamp
23
24 clean-local:
25         rm -f *~ *.bak $(DOC_STAMPS) || true
26         if test -d html; then rm -fr html; fi
27         if test -d latex; then rm -fr latex; fi
28
29 distclean-local: clean
30         rm -f *.stamp || true
31         if test -d reference; then rm -rf reference; fi
32
33 install-data-local:
34         $(mkinstalldirs) $(DESTDIR)$(DOC_DIR)/reference/html
35         (installfiles=`echo reference/html/*.html`; \
36         if test "$$installfiles" = 'reference/html/*.html'; \
37         then echo '-- Nothing to install' ; \
38         else \
39           for i in $$installfiles $(INSTIMAGES) reference/html/doxygen.css; do \
40             echo '-- Installing '$$i ; \
41             $(INSTALL_DATA) $$i $(DESTDIR)$(DOC_DIR)/reference/html; \
42           done; \
43         fi)
44
45 # we need doxygen stuff built so we can know what to uninstall
46 uninstall-local: doxygen-build.stamp
47         (installfiles=`echo reference/html/*.html`; \
48         if test "$$installfiles" = 'reference/html/*.html'; \
49         then echo '-- Nothing to uninstall' ; \
50         else \
51           for i in $$installfiles $(INSTIMAGES) reference/html/doxygen.css; do \
52             echo '-- Unstalling '$$i ; \
53             rm $(DESTDIR)$(DOC_DIR)/$$i; \
54           done; \
55         fi)
56
57 dist-hook: dist-hook-local
58         mkdir $(distdir)/reference
59         mkdir $(distdir)/reference/html
60         -cp reference/html/*.html reference/html/*.css \
61             reference/html/*.png  $(distdir)/reference/html
62
63 .PHONY : dist-hook-local
Note: See TracBrowser for help on using the browser.