Skip to content

Commit

Permalink
Make distcheck pass from a clean tree
Browse files Browse the repository at this point in the history
  • Loading branch information
hadess authored and FunkyM committed Aug 4, 2009
1 parent fc1a42b commit 3b3a47b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
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

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libiphone-1.0.pc

EXTRA_DIST= docs
dist-hook: doc

doc:
docs:
rm -fr docs
doxygen doxygen.cfg

Expand Down
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
5 changes: 5 additions & 0 deletions dev/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 3b3a47b

Please sign in to comment.