changeset 29729:1dc02b0785c7 jcv_sbuild

Fix .deb build for sbuild/launchpad
author John C. Vernaleo <john@netpurgatory.com>
date Fri, 22 Jun 2018 15:59:39 -0400
parents 055f77452cfe
children bba28a7aecb1
files debian/rules
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/debian/rules	Sun Jun 10 14:46:54 2018 -0500
+++ b/debian/rules	Fri Jun 22 15:59:39 2018 -0400
@@ -22,13 +22,15 @@
 
 
 %:
+	mkdir -p "$(FAKETMP)"
 	dh $@ --parallel --sourcedirectory=src --with bash-completion
 
 override_dh_auto_clean:
+	rm -rf "$(FAKETMP)"
 	cd src && make realclean
 
-#override_dh_auto_test:
-#	HOME=${FAKETMP} TMPDIR=${FAKETMP} dh_auto_test || ( cat src/test-suite.log && false )
+override_dh_auto_test:
+	HOME=${FAKETMP} TMPDIR=${FAKETMP} dh_auto_test || ( cat src/test-suite.log && false )
 
 get-orig-source:
 	#uscan --download-current-version