A C Unit Test Library for C language.
Revisión | ccbe8a5ec2fa6d32147d81b3a46f2d4a4e10fcd3 (tree) |
---|---|
Tiempo | 2003-09-26 00:56:17 |
Autor | tsutsumi <> |
Commiter | tsutsumi <> |
don't create docs when target is all
@@ -10,16 +10,15 @@ CCUNITSRCS=$(top_srcdir)/src/ccunit/*.[ch] $(top_srcdir)/src/tools/*.c | ||
10 | 10 | if DOC |
11 | 11 | |
12 | 12 | htmldir = $(pkgdatadir)/html |
13 | -html_DATA = $(static_pages) html/index.html | |
14 | 13 | |
15 | 14 | install-data-hook: |
16 | - cp -p $(static_pages) html | |
17 | - cp -dpR html/* $(DESTDIR)$(htmldir) | |
15 | + -test -d html && cp -p $(static_pages) html | |
16 | + -test -d html && cp -dpR html/* $(DESTDIR)$(htmldir) | |
18 | 17 | |
19 | 18 | uninstall-local: |
20 | 19 | $(RM) -rf $(DESTDIR)$(htmldir) |
21 | 20 | |
22 | -docs: html/index.html | |
21 | +docs: $(static_pages) html/index.html | |
23 | 22 | |
24 | 23 | doc-dist-hook: |
25 | 24 | cp -p $(static_pages) $(distdir)/html |
@@ -33,17 +32,14 @@ docs: | ||
33 | 32 | endif |
34 | 33 | |
35 | 34 | |
36 | -all: | |
37 | - | |
38 | 35 | CMNTST=<span class="comment">/ |
39 | 36 | CMNTED=/</span> |
40 | 37 | |
41 | 38 | html/index.html: Doxyfile $(doxygen_input) $(CCUNITSRCS) $(DOXYSRCS) |
42 | 39 | $(DOXYGEN) |
43 | - cd html; \ | |
44 | - mv -f cookbook.html cookbook.html~; \ | |
45 | - sed -e 's!\($(CMNTST)\)/\(\*.*\*\)\\\($(CMNTED)\)!\1\2\3!g' \ | |
46 | - cookbook.html~ > cookbook.html | |
40 | + sed -e 's!\($(CMNTST)\)/\(\*.*\*\)\\\($(CMNTED)\)!\1\2\3!g' \ | |
41 | + html/cookbook.html > cookbook-cmntfix.html | |
42 | + mv cookbook-cmntfix.html html/cookbook.html | |
47 | 43 | |
48 | 44 | pdf: @PACKAGE@.pdf |
49 | 45 | @PACKAGE@.pdf: |
@@ -54,6 +50,6 @@ pdf: @PACKAGE@.pdf | ||
54 | 50 | |
55 | 51 | clean-local: |
56 | 52 | $(RM) -r latex |
57 | - $(RM) -r html/* man @PACKAGE@.ps @PACKAGE@.pdf | |
53 | + $(RM) -r html man @PACKAGE@.ps @PACKAGE@.pdf | |
58 | 54 | |
59 | 55 | CLEANFILES=*~ .*~ ./\#*\# *.log |