[med-svn] r20743 - trunk/packages/acedb/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Fri Dec 11 14:20:26 UTC 2015


Author: tille
Date: 2015-12-11 14:20:25 +0000 (Fri, 11 Dec 2015)
New Revision: 20743

Modified:
   trunk/packages/acedb/trunk/debian/changelog
   trunk/packages/acedb/trunk/debian/control
   trunk/packages/acedb/trunk/debian/rules
Log:
short dh rules file


Modified: trunk/packages/acedb/trunk/debian/changelog
===================================================================
--- trunk/packages/acedb/trunk/debian/changelog	2015-12-11 14:02:46 UTC (rev 20742)
+++ trunk/packages/acedb/trunk/debian/changelog	2015-12-11 14:20:25 UTC (rev 20743)
@@ -12,6 +12,7 @@
   * Priority: optional
   * debhelper 9
   * cme fix dpkg-copyright
+  * short dh rules file
 
  -- Andreas Tille <tille at debian.org>  Thu, 10 Dec 2015 15:24:16 +0100
 

Modified: trunk/packages/acedb/trunk/debian/control
===================================================================
--- trunk/packages/acedb/trunk/debian/control	2015-12-11 14:02:46 UTC (rev 20742)
+++ trunk/packages/acedb/trunk/debian/control	2015-12-11 14:20:25 UTC (rev 20743)
@@ -8,7 +8,6 @@
                libreadline-dev,
                libglib2.0-dev,
                libgtk2.0-dev,
-               quilt,
                pkg-config,
                csh,
                flex,

Modified: trunk/packages/acedb/trunk/debian/rules
===================================================================
--- trunk/packages/acedb/trunk/debian/rules	2015-12-11 14:02:46 UTC (rev 20742)
+++ trunk/packages/acedb/trunk/debian/rules	2015-12-11 14:20:25 UTC (rev 20743)
@@ -9,7 +9,6 @@
 
 DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-include /usr/share/quilt/quilt.make
 DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
 
 ifneq (,$(filter $(DEB_HOST_ARCH_CPU), amd64 alpha ia64 s390x ppc64 sparc64))
@@ -18,85 +17,34 @@
 export ACEDB_MACHINE=LINUX_64
 endif
 
-configure-stamp: patch
-	ln -sf bin.$(ACEDB_MACHINE) bin
-	touch $@
+%:
+	dh $@
 
-#Architecture
-build: build-arch build-indep
+override_dh_auto_clean:
+	echo "this goes into an endless loop :-("
 
-build-arch: build-arch-stamp
-build-arch-stamp: configure-stamp  
+override_dh_clean:
+	dh_clean bin
+	rm -fr bin.$(ACEDB_MACHINE)
+	sed -i 's?^\(.define ACEDB_RELEASE_DIR\) ".*"?\1 "/nfs/disk100/acedb/RELEASE.2007_07_06.BUILD/bin.DARWIN_4"?' wnq/aceversion.c
 
-	# Add here commands to compile the arch part of the package.
+override_dh_auto_build:
+	ln -sf bin.$(ACEDB_MACHINE) bin
 	$(MAKE) tools other
-	touch $@
 
-build-indep: build-indep-stamp
-build-indep-stamp: configure-stamp  
-	# Nothing to be done for indep - for now.
-	#$(MAKE) doc
-	touch $@
+override_dh_auto_test:
+	cd bin && ln -s ../w2/graphtest.c
+	dh_auto_test || true
 
-clean:: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-arch-stamp build-indep-stamp configure-stamp
-	rm -fr bin.$(ACEDB_MACHINE)
-	#$(MAKE) clean
-	dh_clean bin
-
-install: install-indep install-arch
-install-indep:
-	# Nothing to be done for indep - for now.
-	#dh_testdir
-	#dh_testroot
-	#dh_prep -i 
-	#dh_installdirs -i
-	#dh_install --autodest -i
-
-install-arch:
-	dh_testdir
-	dh_testroot
-	dh_prep -s 
-	dh_installdirs -s
-	if [ ! -d debian/tmp/usr/bin ]; then mkdir -p debian/tmp/usr/bin; fi
+override_dh_auto_install:
+	mkdir -p debian/tmp/usr/bin
 	cp -d `find bin/ -type f -a -executable` debian/tmp/usr/bin
-	dh_install --autodest -s
+	# dh_install --autodest -s
 
-# Must not depend on anything. This is to be called by
-# binary-arch/binary-indep
-# in another 'make' thread.
-binary-common:
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture independant packages using the common target.
-binary-indep: build-indep install-indep
-	# Nothing to do for indep
-	#$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-
 # Build architecture dependant packages using the common target.
-binary-arch: build-arch install-arch
-	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+#binary-arch: build-arch install-arch
+#	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
 
-binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure get-orig-source
 
 UPSTREAMVERSION=4.9.39
 ATTEMPTNO=01




More information about the debian-med-commit mailing list