Mercurial > mplayer.hg
changeset 32430:1ab876dcf5d6
Make clean target even more robust and forcefully remove generated HTML docs
if the DOCS/xml/Makefile fails.
author | siretart |
---|---|
date | Tue, 19 Oct 2010 12:55:59 +0000 |
parents | ac882481e5bb |
children | a116d0fcea6e |
files | debian/rules |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/debian/rules Tue Oct 19 10:08:47 2010 +0000 +++ b/debian/rules Tue Oct 19 12:55:59 2010 +0000 @@ -152,7 +152,9 @@ clean: dh_testdir dh_testroot - test ! -f config.mak || ( $(MAKE) -C DOCS/xml releaseclean ; $(MAKE) distclean ) + -test ! -f config.mak || ( $(MAKE) -C DOCS/xml releaseclean ; $(MAKE) distclean ) + # in case the previous command fails for some reason, remove 'svn ignored' files + rm -rf DOCS/HTML DOCS/HTML-single DOCS/codecs-status.html dh_clean snapshot_version # Build architecture-independent packages