From d6ff630a1bc30565db32f69bf86d0ca1d73d20b8 Mon Sep 17 00:00:00 2001 From: Horms Date: Sun, 2 Apr 2006 07:38:06 +0000 Subject: [PATCH] Save and restore autogenerated changelog when debian/rule's clean target runs. Otherwise the following breaks because make distclean removes autogenerated files, but debian/rules expects the changelog to always be there: fakeroot ./debian/rules clean ; ./debian/rules build Note that this does not fix packages who are handled by cdbs, that will need to be fixed separately SVN revision: 21711 --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index aa579d566..aa12c6f4c 100644 --- a/debian/rules +++ b/debian/rules @@ -34,7 +34,9 @@ clean: dh_testdir rm -f build-stamp configure-stamp + -mv debian/changelog debian/changelog.saved -$(MAKE) distclean + -mv debian/changelog.saved debian/changelog dh_clean