[rkward/frameworks] debian: Seems we need to switch to dh_auto_xyz for the other part of the rules, too.

Thomas Friedrichsmeier null at kde.org
Tue Mar 27 08:35:13 UTC 2018


Git commit 1228d33a3fa1d4eed44ab164ec5f8550ba6d5e5e by Thomas Friedrichsmeier.
Committed on 27/03/2018 at 08:34.
Pushed by tfry into branch 'frameworks'.

Seems we need to switch to dh_auto_xyz for the other part of the rules, too.

M  +3    -15   debian/rules

https://commits.kde.org/rkward/1228d33a3fa1d4eed44ab164ec5f8550ba6d5e5e

diff --git a/debian/rules b/debian/rules
index 41e4764c..31910a94 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,25 +62,13 @@ build-stamp:
 	touch build-stamp
 
 clean:
-	dh_testdir
-	dh_testroot
+	dh_auto_clean
 	rm -f build-stamp
-	# remove any .svn subdir included by accident
-	rm -rf $(CURDIR)/debian/.svn
-
-	# Add here commands to clean up after the build process.
-	rm -rf $(CURDIR)/build/
-
-	dh_clean 
+	dh_clean
 
 install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
+	dh_auto_install
 
-	# Install into debian/tmp, first
-	cd $(CURDIR)/build && $(MAKE) install DESTDIR=$(DESTDIR)
 	# dirty hack to get rid of conflicting r.xml file without adjusting all makefiles
 	rm -vf $(DESTDIR)/usr/share/katepart/syntax/r.xml
 	



More information about the rkward-tracker mailing list