diff options
author | Bastien Nocera | 2009-08-03 19:58:55 +0100 |
---|---|---|
committer | Martin Szulecki | 2009-08-04 13:13:20 +0200 |
commit | 3b3a47b798b80c78446d9f062d311bcca135b177 (patch) | |
tree | 777331967f7e5510feb3b23e961598fd2a62045a | |
parent | fc1a42bde5efc107d3d6e9e3169eac07f0d6a5ed (diff) | |
download | libimobiledevice-3b3a47b798b80c78446d9f062d311bcca135b177.tar.gz libimobiledevice-3b3a47b798b80c78446d9f062d311bcca135b177.tar.bz2 |
Make distcheck pass from a clean tree
-rw-r--r-- | Makefile.am | 5 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | dev/Makefile.am | 5 |
3 files changed, 10 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index bf4205d..04358f9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src include fdi swig $(DEV_SUB) tools +SUBDIRS = src include fdi swig dev tools DISTCHECK_CONFIGURE_FLAGS = --enable-dev-tools @@ -8,9 +8,8 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libiphone-1.0.pc EXTRA_DIST= docs -dist-hook: doc -doc: +docs: rm -fr docs doxygen doxygen.cfg diff --git a/configure.ac b/configure.ac index d6b27f4..55f5bae 100644 --- a/configure.ac +++ b/configure.ac @@ -59,6 +59,9 @@ if test "$build_dev_tools" = true; then else DEV_SUB= fi + +AM_CONDITIONAL([ENABLE_DEVTOOLS],[test "x$DEV_SUB" = "xdev"]) + AC_SUBST([DEV_SUB]) AC_ARG_ENABLE([debug-code], diff --git a/dev/Makefile.am b/dev/Makefile.am index c41b663..b71c212 100644 --- a/dev/Makefile.am +++ b/dev/Makefile.am @@ -3,6 +3,7 @@ INCLUDES = -I$(top_srcdir)/include AM_CFLAGS = $(GLOBAL_CFLAGS) $(libglib2_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1_CFLAGS) $(libgthread2_CFLAGS) $(LFS_CFLAGS) AM_LDFLAGS = $(libglib2_LIBS) $(libgnutls_LIBS) $(libtasn1_LIBS) $(libgthread2_LIBS) +if ENABLE_DEVTOOLS noinst_PROGRAMS = iphoneclient lckd-client afccheck msyncclient iphoneenterrecovery iphoneclient_SOURCES = iphoneclient.c @@ -27,3 +28,7 @@ iphoneenterrecovery_SOURCES = iphoneenterrecovery.c iphoneenterrecovery_CFLAGS = $(AM_CFLAGS) iphoneenterrecovery_LDFLAGS = $(AM_LDFLAGS) iphoneenterrecovery_LDADD = ../src/libiphone.la + +endif # ENABLE_DEVTOOLS + +EXTRA_DIST = iphoneclient.c lckdclient.c afccheck.c msyncclient.c iphoneenterrecovery.c |