[Bug 311552] [NEW] Source 'clean' target doesn't completely clean up

TJ ubuntu at tjworld.net
Fri Dec 26 15:03:49 UTC 2008


Public bug reported:

Binary package hint: mythtv

A further step in ensuring the source package rules return the source
tree to the same state after a build/clean cycle.

In this case several files and directories need removing. The
debian/rules clean target needs some additional statements:

diff --git a/debian/rules b/debian/rules
index abfac52..865515c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -124,6 +124,9 @@ clean:
 
        dh_clean Makefile config.log setup/Makefile programs/mythbackend/version.cpp \
        programs/mythfrontend/version.cpp
+       # complete the clean-up
+       dh_clean libs/libmythupnp/version.cpp bindings/perl/Makefile.perl.old
+       rm -rf bindings/python/build
 
 install: build
        dh_testdir

** Affects: mythtv (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Source 'clean' target doesn't completely clean up
https://bugs.launchpad.net/bugs/311552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list