[MPlayer-cvslog] r32516 - trunk/debian/rules

siretart subversion at mplayerhq.hu
Tue Oct 19 14:56:00 CEST 2010


Author: siretart
Date: Tue Oct 19 14:55:59 2010
New Revision: 32516

Log:
make clean target even more robost and forcefully remove generated HTML docs if the DOCS/xml/Makefile fails

Modified:
   trunk/debian/rules

Modified: trunk/debian/rules
==============================================================================
--- trunk/debian/rules	Tue Oct 19 12:08:47 2010	(r32515)
+++ trunk/debian/rules	Tue Oct 19 14:55:59 2010	(r32516)
@@ -152,7 +152,9 @@ install-indep: build-indep
 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


More information about the MPlayer-cvslog mailing list