comparison debian/rules @ 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 0b221d9da48e
children a116d0fcea6e
comparison
equal deleted inserted replaced
32429:ac882481e5bb 32430:1ab876dcf5d6
150 ################ clean 150 ################ clean
151 151
152 clean: 152 clean:
153 dh_testdir 153 dh_testdir
154 dh_testroot 154 dh_testroot
155 test ! -f config.mak || ( $(MAKE) -C DOCS/xml releaseclean ; $(MAKE) distclean ) 155 -test ! -f config.mak || ( $(MAKE) -C DOCS/xml releaseclean ; $(MAKE) distclean )
156 # in case the previous command fails for some reason, remove 'svn ignored' files
157 rm -rf DOCS/HTML DOCS/HTML-single DOCS/codecs-status.html
156 dh_clean snapshot_version 158 dh_clean snapshot_version
157 159
158 # Build architecture-independent packages 160 # Build architecture-independent packages
159 binary-indep: install-indep 161 binary-indep: install-indep
160 162