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
This commit is contained in:
parent
e08774ba63
commit
94e34218bc
|
@ -48,7 +48,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
|
||||
|
||||
|
|
Loading…
Reference in New Issue