[SCM] admesh - a tool for processing triangulated solid meshes branch, master, updated. upstream/0.95-12-g2718535

Anton Gladky gladky.anton at gmail.com
Tue May 24 16:55:38 UTC 2011


The following commit has been merged in the master branch:
commit 92f3a12d0d3a2f151382da55a74a363f0bec117a
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Tue May 24 18:43:46 2011 +0200

    Simplify debian/rules, dh 7

diff --git a/debian/rules b/debian/rules
index 415b97f..8b600f2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,44 +1,20 @@
-#!/usr/bin/make -f
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
+#! /usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-package=admesh
+%:
+	dh $@
 
-build:
-	dh_testdir
-	./configure
-	make CC=$(CC) CFLAGS="-I. -g  -O2 -Wall -Wno-implicit"
+override_dh_auto_configure:
+	./configure --prefix=/usr
 
-clean:
-	dh_testdir
+override_dh_auto_clean:
 	dh_clean
 	[ ! -f Makefile ] || $(MAKE) clean
 
-binary-indep:
-	dh_testdir
+override_dh_installman:
+	dh_installman debian/admesh.1
 
-binary-arch: 
-	dh_testdir
-	dh_installdeb 
-	dh_installdirs
-	dh_testroot
-	dh_install $(package) /usr/bin
+override_dh_auto_test:
 	chmod +x ./regression_test/regression_test;
 	./regression_test/regression_test
-	dh_installdocs ADMESH.DOC 
-	dh_installchangelogs
-	dh_installman debian/admesh.1
-	chmod 0644 *.stl
-	dh_installexamples *.stl
-	dh_compress
-	dh_shlibdeps
-	dh_gencontrol
-	dh_strip
-	dh_md5sums
-	dh_builddeb
 
-binary: binary-indep binary-arch
+

-- 
admesh - a tool for processing triangulated solid meshes



More information about the debian-science-commits mailing list