Makefile.am 657 Bytes
Newer Older
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
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = . src doc tests

if FAKELIB
SUBDIRS += src_nosct
endif

include aminclude.am

EXTRA_DIST = util tests/test_base.pl

doc/html: doc

doc:
if HAVE_DOXYGEN
	@echo "-----------------------------------------"
	@echo "Using doxygen to make doc."
	@echo "----------------------------------------"
	cd src && $(MAKE) sct.h
	$(MAKE) doxygen-doc
else
	@echo "-----------------------------------------"
	@echo "Using make doc requires doxygen to be"
	@echo "installed and found by configure."
	@echo "Check 'config.log' for more information."
	@echo "----------------------------------------"
	$(MKDIR_P) $(top_srcdir)/doc/html
endif