[libnative-platform-java] 01/02: d/rules: No need to copy Makefile

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Wed Jun 17 12:37:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

seamlik-guest pushed a commit to branch master
in repository libnative-platform-java.

commit b5a561911dcf41b89c5c2feedb391a7dce59eaf1
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date:   Wed Jun 17 20:36:31 2015 +0800

    d/rules: No need to copy Makefile
---
 debian/rules | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index e8b7ed4..7dde98a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,14 +11,11 @@ INDEP_DIR := net/rubygrapefruit/native-platform
 	dh $@ --with maven_repo_helper
 
 override_dh_auto_build:
-	cp debian/Makefile .
-	dh_auto_build
-	rm -f Makefile
+	make -f debian/Makefile
 
 override_dh_auto_clean:
-	cp debian/Makefile .
 	dh_auto_clean
-	rm -f Makefile
+	make -f debian/Makefile clean
 
 get-orig-source:
 	uscan --download-current-version --force-download --repack --compression xz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libnative-platform-java.git



More information about the pkg-java-commits mailing list