2003-04-30 Havoc Pennington <hp@redhat.com>

* Makefile.am: add a check-local that complains if you didn't
	configure with --enable-tests
This commit is contained in:
Havoc Pennington 2003-04-30 21:15:44 +00:00
parent 410a80c431
commit 42d47c5f80
4 changed files with 30 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-04-30 Havoc Pennington <hp@redhat.com>
* Makefile.am: add a check-local that complains if you didn't
configure with --enable-tests
2003-04-29 Havoc Pennington <hp@redhat.com>
* glib/dbus-gmain.c: docs cleanups

View file

@ -24,6 +24,14 @@ EXTRA_DIST = \
all-local: Doxyfile
if DBUS_BUILD_TESTS
### nothing
else
check-local:
echo "You have to configure with --enable-tests to make check" ; \
exit 1
endif
if DBUS_GCOV_ENABLED
clean-gcov:
find -name "*.da" -o -name "*.gcov" | xargs rm || true

View file

@ -102,4 +102,12 @@ endif
#### Extra dist
EXTRA_DIST=$(CONFIG_IN_FILES) $(SCRIPT_IN_FILES)
EXTRA_DIST=$(CONFIG_IN_FILES) $(SCRIPT_IN_FILES)
if DBUS_BUILD_TESTS
### nothing
else
check-local:
echo "You have to configure with --enable-tests to make check" ; \
exit 1
endif

View file

@ -154,3 +154,11 @@ dbus_test_LDADD= $(DBUS_CLIENT_LIBS) libdbus-1.la
## mop up the gcov files
clean-local:
/bin/rm *.bb *.bbg *.da *.gcov || true
if DBUS_BUILD_TESTS
### nothing
else
check-local:
echo "You have to configure with --enable-tests to make check" ; \
exit 1
endif