source: trunk/doc/Makefile.am @ 1181

Revision 1181, 694 bytes checked in by aj, 2 years ago (diff)

For packaged tar.gz files with builds inside the source,
the old code removed api.out dir (which was in the tar.gz with
pregenerated docs), and replaced it with a loop symlink api.out -> api.out.
Try to fix this.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
2
3if ENABLE_DOC
4SUBDIRS = nonpersistent
5endif
6DIST_SUBDIRS = nonpersistent
7
8dist_doc_DATA = README
9dist_noinst_DATA = $(srcdir)/doxygen-footer.html $(srcdir)/*.gif
10if ENABLE_API_DOC
11dist_apidoc_DATA=api.out/html/*
12else
13dist_noinst_DATA+=api.out/html/*
14endif
15
16if SVN_CHECKOUT
17api.out/html/*: api.out
18api.out:        $(top_srcdir)/src/include/openct/*.h \
19                $(srcdir)/*.gif \
20                doxygen.conf
21        -rm -fr api.out
22        $(DOXYGEN) doxygen.conf
23        cp "$(srcdir)"/*.gif api.out/html
24else
25api.out/html/*:     $(abs_builddir)/api.out
26$(abs_builddir)/api.out:
27        $(LN_S) "$(srcdir)/api.out" api.out
28endif
29
30clean-local:
31if SVN_CHECKOUT
32        -rm -fr api.out
33else
34        -rm -f api.out
35endif
Note: See TracBrowser for help on using the repository browser.