Browse Source

Properly cleanup in clean target. Closes: #1043891

Christoph Biedl 3 months ago
parent
commit
ff9791115e
2 changed files with 18 additions and 0 deletions
  1. 1 0
      debian/patches/series
  2. 17 0
      debian/patches/upstream.properly-clean-up.patch

+ 1 - 0
debian/patches/series

@@ -4,6 +4,7 @@
 upstream.use-cppflags.patch
 upstream.use-cppflags.patch
 upstream.fix-crash-on-huge-prefix-lists.patch
 upstream.fix-crash-on-huge-prefix-lists.patch
 upstream.fix-unaligned-memory-access.patch
 upstream.fix-unaligned-memory-access.patch
+upstream.properly-clean-up.patch
 
 
 # local modifications
 # local modifications
 local.disable-cfr_strerror.patch
 local.disable-cfr_strerror.patch

+ 17 - 0
debian/patches/upstream.properly-clean-up.patch

@@ -0,0 +1,17 @@
+Description: Properly clean up in clean target
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Bug-Debian: https://bugs.debian.org/1043891
+Forwarded: no
+Last-Update: 2024-08-31
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -44,7 +44,7 @@
+ 	./test.sh
+ 
+ clean: check-clean
+-	rm -f libbgpdump.so libbgpdump.a example bgpdump $(LIB_O)
++	rm -f libbgpdump.so libbgpdump.a example bgpdump $(LIB_O) test bgpdump.spec
+ 
+ distclean: clean
+ 	rm -Rf config.log config.status *.dSYM core *.core autom4te.cache bgpdump-config.h Makefile