• R/O
  • HTTP
  • SSH
  • HTTPS

ccunit: 提交

A C Unit Test Library for C language.


Commit MetaInfo

修訂ccbe8a5ec2fa6d32147d81b3a46f2d4a4e10fcd3 (tree)
時間2003-09-26 00:56:17
作者tsutsumi <>
Commitertsutsumi <>

Log Message

don't create docs when target is all

Change Summary

差異

--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -10,16 +10,15 @@ CCUNITSRCS=$(top_srcdir)/src/ccunit/*.[ch] $(top_srcdir)/src/tools/*.c
1010 if DOC
1111
1212 htmldir = $(pkgdatadir)/html
13-html_DATA = $(static_pages) html/index.html
1413
1514 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)
1817
1918 uninstall-local:
2019 $(RM) -rf $(DESTDIR)$(htmldir)
2120
22-docs: html/index.html
21+docs: $(static_pages) html/index.html
2322
2423 doc-dist-hook:
2524 cp -p $(static_pages) $(distdir)/html
@@ -33,17 +32,14 @@ docs:
3332 endif
3433
3534
36-all:
37-
3835 CMNTST=<span class="comment">/
3936 CMNTED=/</span>
4037
4138 html/index.html: Doxyfile $(doxygen_input) $(CCUNITSRCS) $(DOXYSRCS)
4239 $(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
4743
4844 pdf: @PACKAGE@.pdf
4945 @PACKAGE@.pdf:
@@ -54,6 +50,6 @@ pdf: @PACKAGE@.pdf
5450
5551 clean-local:
5652 $(RM) -r latex
57- $(RM) -r html/* man @PACKAGE@.ps @PACKAGE@.pdf
53+ $(RM) -r html man @PACKAGE@.ps @PACKAGE@.pdf
5854
5955 CLEANFILES=*~ .*~ ./\#*\# *.log
Show on old repository browser