Generate the main Android.mk, so the version number is not hardcoded.
[strongswan.git] / Makefile.am
1 SUBDIRS = src testing
2
3 if USE_SCRIPTS
4   SUBDIRS += scripts
5 endif
6
7 ACLOCAL_AMFLAGS = -I m4/config
8
9 EXTRA_DIST = Doxyfile.in CREDITS Android.mk.in Android.mk
10 CLEANFILES = apidoc Doxyfile
11 BUILT_SOURCES = Android.mk
12 MAINTAINERCLEANFILES = Android.mk
13
14 Android.mk :    Android.mk.in
15                 sed \
16                 -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
17                 $(srcdir)/$@.in > $@
18
19 Doxyfile :      Doxyfile.in
20                 sed \
21                 -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
22                 -e "s:\@PACKAGE_NAME\@:$(PACKAGE_NAME):" \
23                 -e "s:\@SRC_DIR\@:$(srcdir):" \
24                 $(srcdir)/$@.in > $@
25
26 apidoc :        Doxyfile
27                 doxygen