[flint] 01/01: Cleaner d/rules

Julien Puydt julien.puydt at laposte.net
Fri Sep 18 11:54:47 UTC 2015


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

jpuydt-guest pushed a commit to branch master
in repository flint.

commit 70846ef06d9a4df4124aefffade85b0ce55af20f
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Sep 18 13:54:32 2015 +0200

    Cleaner d/rules
---
 debian/clean | 1 +
 debian/rules | 8 ++------
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..a7a719d
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+doc/latex/flint-manual.pdf
diff --git a/debian/rules b/debian/rules
index 06306b4..bf20ed6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,15 +18,11 @@ override_dh_auto_configure:
 override_dh_auto_build:
 	dh_auto_build --parallel -- $(MAKE_OVERRIDE) \
 	    EXTRA_SHARED_FLAGS="$(EXTRA_SHARED_FLAGS)"
-	(cd doc/latex && make)
-
-override_dh_auto_clean:
-	rm -f doc/latex/flint-manual.pdf
-	dh_auto_clean
+	$(MAKE) -C doc/latex
 
 override_dh_auto_install:
 	dh_auto_install
-	(cd debian/tmp/usr/lib ; ln -sf libflint-$(VERSION).so.* libflint-$(VERSION).so)
+	cd debian/tmp/usr/lib ; ln -sf libflint-$(VERSION).so.* libflint-$(VERSION).so
 
 override_dh_auto_test:
 	dh_auto_test --parallel -- $(MAKE_OVERRIDE)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/flint.git



More information about the debian-science-commits mailing list