[PATCH 1/2] Clean the upstream build directory explicitly
From: Mattia Dongili <malattia@linux.it>
toos/build/fixdep is otherwise left behind.
---
debian/build/Makefile.inc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/build/Makefile.inc b/debian/build/Makefile.inc
index 15ff1fd..479b356 100644
--- a/debian/build/Makefile.inc
+++ b/debian/build/Makefile.inc
@@ -14,7 +14,7 @@ CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) -Wall
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
all: all-local all-recursive
-clean: clean-local clean-recursive
+clean: clean-local clean-recursive clean-build
install: install-local install-recursive
%-recursive:
@@ -30,6 +30,9 @@ all-local: $(PROGS)
clean-local::
rm -f $(PROGS) *.o
+clean-build:
+ $(MAKE) -C $(top_srcdir)/tools/build clean
+
install-local: install-local-progs install-local-scripts install-local-data
install-local-progs: $(PROGS)
--
2.7.0
Reply to: