From: Enlightenment C. <no...@cv...> - 2006-04-02 07:38:47
|
Enlightenment CVS committal Author : horms Project : e17 Module : apps/entice Dir : e17/apps/entice/debian Modified Files: rules Log Message: 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 =================================================================== RCS file: /cvs/e/e17/apps/entice/debian/rules,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- rules 15 Mar 2004 12:02:19 -0000 1.3 +++ rules 2 Apr 2006 07:38:05 -0000 1.4 @@ -21,7 +21,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 install: DH_OPTIONS= |