-
Notifications
You must be signed in to change notification settings - Fork 226
/
Makefile.am
48 lines (45 loc) · 1.23 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
include $(abs_top_builddir)/mk/Makefile.global
ACLOCAL_AMFLAGS=-I m4
if CAPTIVES_ENABLED
CAPTIVES=captive
endif
SUBDIRS=$(CAPTIVES) csrc test/csrc
EXTRA_DIST= \
src \
test/src \
share \
generated \
ivy.xml \
build.xml \
mk/buildtools/buildhelper.xml \
mk/buildtools/Doxyfile \
mk/buildtools/Valgrind.suppressions \
mk/buildtools/build.properties \
mk/buildtools/buildhelper.xml \
mk/buildtools/guess_os.sh \
mk/buildtools/ivysettings.xml \
mk/buildtools/memcheck \
mk/buildtools/revision.sh \
mk/buildtools/install-build.sh \
mk/buildtools/run \
mk/buildtools/runtests \
mk/buildtools/lib \
lib \
test/fixtures
DOC_DIR=$(abs_top_srcdir)/doc/cpp/api
.PHONY : doc
if HAVE_DOXYGEN
doc:
$(MKDIR_P) $(DOC_DIR)
cd $(abs_top_srcdir) && $(DOXYGEN) $(abs_top_srcdir)/mk/buildtools/Doxyfile
else
doc:
@echo "You must have 'doxygen' installed on your system to generate"
@echo "the documentation. Try installing it, and running"
@echo "'configure' again."
endif
dist-hook:
rm -rf `find $(distdir) -name '.svn'`
rm -rf `find $(distdir) -name '.class'`
$(MKDIR_P) $(distdir)/doc
$(abs_top_srcdir)/mk/buildtools/revision.sh $(abs_top_srcdir) $(abs_top_srcdir)/LastRevisionBuilt.txt $(distdir)/LastRevisionBuilt.txt