Browse Source

* debian/rules:
- Actually migrate it to the compact version, overriding dh_installinit.
* debian/watch: Added.

David Martínez Moreno 10 years ago
parent
commit
cd804292fc
3 changed files with 8 additions and 34 deletions
  1. 3 0
      debian/changelog
  2. 3 34
      debian/rules
  3. 2 0
      debian/watch

+ 3 - 0
debian/changelog

@@ -14,6 +14,9 @@ aoetools (36-1) UNRELEASED; urgency=low
     - Bump Standards-Version to 3.9.5.
     - Added mention in the Description that this can run on 3.x kernels.
     - Added Vcs-* fields.
+  * debian/rules:
+    - Actually migrate it to the compact version, overriding dh_installinit.
+  * debian/watch: Added.
 
  -- David Martínez Moreno <ender@debian.org>  Sun, 12 Jan 2014 15:05:34 -0800
 

+ 3 - 34
debian/rules

@@ -3,39 +3,8 @@
 # Uncomment this to turn on verbose mode.
 # export DH_VERBOSE=1
 
-# We support quilt.
-include /usr/share/quilt/quilt.make
+%:
+	dh $@
 
-build: build-stamp $(QUILT_STAMPFN)
-build-stamp:
-	$(MAKE)
-	touch build-stamp
-
-binary-arch: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install PREFIX=debian/aoetools SBINDIR=debian/aoetools/sbin
-	dh_installdocs
-	dh_installchangelogs NEWS
+override_dh_installinit:
 	dh_installinit -u"start 41 S . start 34 0 6 ."
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-indep:
-	# do nothing
-
-binary: binary-arch binary-indep
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	$(MAKE) clean
-	rm -f *-stamp
-	dh_clean

+ 2 - 0
debian/watch

@@ -0,0 +1,2 @@
+version=3
+http://sf.net/aoetools/aoetools-(.+)\.tar\.gz