| 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 | |
|---|
| 1 | MAINTAINERCLEANFILES = $(srcdir)/Makefile.in |
|---|
| 2 | |
|---|
| 3 | if ENABLE_DOC |
|---|
| 4 | SUBDIRS = nonpersistent |
|---|
| 5 | endif |
|---|
| 6 | DIST_SUBDIRS = nonpersistent |
|---|
| 7 | |
|---|
| 8 | dist_doc_DATA = README |
|---|
| 9 | dist_noinst_DATA = $(srcdir)/doxygen-footer.html $(srcdir)/*.gif |
|---|
| 10 | if ENABLE_API_DOC |
|---|
| 11 | dist_apidoc_DATA=api.out/html/* |
|---|
| 12 | else |
|---|
| 13 | dist_noinst_DATA+=api.out/html/* |
|---|
| 14 | endif |
|---|
| 15 | |
|---|
| 16 | if SVN_CHECKOUT |
|---|
| 17 | api.out/html/*: api.out |
|---|
| 18 | api.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 |
|---|
| 24 | else |
|---|
| 25 | api.out/html/*: $(abs_builddir)/api.out |
|---|
| 26 | $(abs_builddir)/api.out: |
|---|
| 27 | $(LN_S) "$(srcdir)/api.out" api.out |
|---|
| 28 | endif |
|---|
| 29 | |
|---|
| 30 | clean-local: |
|---|
| 31 | if SVN_CHECKOUT |
|---|
| 32 | -rm -fr api.out |
|---|
| 33 | else |
|---|
| 34 | -rm -f api.out |
|---|
| 35 | endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.