forked from enlightenment/efl
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
866b591619
commit
9f41b13cb3
|
@ -58,7 +58,9 @@ clean:
|
||||||
rm -f build-stamp configure-stamp
|
rm -f build-stamp configure-stamp
|
||||||
|
|
||||||
# Add here commands to clean up after the build process.
|
# Add here commands to clean up after the build process.
|
||||||
|
-mv debian/changelog debian/changelog.saved
|
||||||
-$(MAKE) distclean
|
-$(MAKE) distclean
|
||||||
|
-mv debian/changelog.saved debian/changelog
|
||||||
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
|
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
|
||||||
cp -f /usr/share/misc/config.sub config.sub
|
cp -f /usr/share/misc/config.sub config.sub
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -51,7 +51,9 @@ clean:
|
||||||
dh_testroot
|
dh_testroot
|
||||||
rm -f build-stamp configure-stamp
|
rm -f build-stamp configure-stamp
|
||||||
|
|
||||||
|
-mv debian/changelog debian/changelog.saved
|
||||||
-$(MAKE) distclean
|
-$(MAKE) distclean
|
||||||
|
-mv debian/changelog.saved debian/changelog
|
||||||
|
|
||||||
dh_clean
|
dh_clean
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue