diff options
author | Paul Moore <pmoore@redhat.com> | 2013-10-07 15:54:25 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2013-10-17 12:05:11 -0400 |
commit | b411c57b0e05ed569a8d6fb4ee5e53a51d696a0f (patch) | |
tree | 0f739d074df18857305094615c2546c924236bdd | |
parent | 15752e8cf4eb95e463e496de44e005a8b6b24ca8 (diff) | |
download | libseccomp-b411c57b0e05ed569a8d6fb4ee5e53a51d696a0f.tar.gz |
build: fixup the "clean" portions of the build process
Reported-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Paul Moore <pmoore@redhat.com>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/Makefile | 4 | ||||
-rw-r--r-- | tests/Makefile | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -49,7 +49,7 @@ $(CONFIGS): version_info @$(ECHO_INFO) "automatically generating configuration ..." @./configure -tarball: clean +tarball: dist-clean @ver=$(VERSION_RELEASE); \ tarball=libseccomp-$$ver.tar.gz; \ $(ECHO_INFO) "creating the tarball ../$$tarball"; \ diff --git a/src/Makefile b/src/Makefile index ae50f86..7b980ab 100644 --- a/src/Makefile +++ b/src/Makefile @@ -85,8 +85,8 @@ install: $(LIB_SHARED) done clean: - $(RM) $(DEPS) $(OBJS) $(LIB_STATIC) $(LIB_SHARED) - @for dir in $(BINDINGS); do \ + $(RM) $(DEPS) $(OBJS) $(LIB_STATIC) libseccomp.so.* + @for dir in python; do \ $(MAKE) -C $$dir clean; \ done diff --git a/tests/Makefile b/tests/Makefile index adb5820..1bc8d65 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -89,4 +89,4 @@ $(TEST_PRIVATE): 00-test.c $(OBJS) ../src/libseccomp.a $(COMPILE_EXEC) clean: - $(RM) $(DEPS_TESTS) $(DEPS_OBJS) $(TESTS) $(TEST_PRIVATE) $(OBJS) + $(RM) $(DEPS_TESTS) $(DEPS_OBJS) $(TESTS) $(TEST_PRIVATE) $(OBJS) *.pyc |