summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-01-08 14:08:28 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-01-08 14:08:28 +0100
commit66d507d906fc51e06b6c134fadf9c4610b9b91c4 (patch)
tree153589211cd09f5bd27f435466657785e674f5fe
parenta7eaaaf8e28751b2e8c69b0e58e8b99a668f8821 (diff)
downloadwolfbones-66d507d906fc51e06b6c134fadf9c4610b9b91c4.tar.gz
wolfbones-66d507d906fc51e06b6c134fadf9c4610b9b91c4.tar.bz2
fixed bad recusion in distclean and fixed small things in testd
-rw-r--r--docs/doxygen.conf2
-rw-r--r--makefiles/top.mk2
-rw-r--r--tests/daemon/testd.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/docs/doxygen.conf b/docs/doxygen.conf
index 58de232..0cf15d8 100644
--- a/docs/doxygen.conf
+++ b/docs/doxygen.conf
@@ -552,7 +552,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
-INPUT = src include
+INPUT = src tests include
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
diff --git a/makefiles/top.mk b/makefiles/top.mk
index 3538770..79aab0b 100644
--- a/makefiles/top.mk
+++ b/makefiles/top.mk
@@ -23,7 +23,7 @@ clean:
(set -e; $(MAKE) -C $$d clean || exit 1); done)
.PHONY: distclean
-distclean: clean
+distclean:
@test -z "$(SUBDIRS)" || ( set -e; for d in $(SUBDIRS)""; do \
(set -e; $(MAKE) -C $$d distclean || exit 1); done)
diff --git a/tests/daemon/testd.c b/tests/daemon/testd.c
index 4c5ab0a..4b380ef 100644
--- a/tests/daemon/testd.c
+++ b/tests/daemon/testd.c
@@ -1,8 +1,7 @@
#include "port/stdbool.h" /* for bool */
-#include <sys/types.h> /* for pid_t */
#include <unistd.h> /* for exit, unistd, getuid, getppid */
-#include <stdlib.h> /* for EXIT_FAILURE */
+#include <stdlib.h> /* for EXIT_FAILURE, EXIT_SUCCESS */
#include <string.h> /* for memset */
#include "errors.h" /* global error codes */