]> git.deb.at Git - pkg/t-prot.git/commitdiff
Add recommended targets build-arch/build-indep to debian/rules
authorGerfried Fuchs <rhonda@debian.org>
Sat, 18 Feb 2012 13:52:25 +0000 (14:52 +0100)
committerGerfried Fuchs <rhonda@debian.org>
Sat, 18 Feb 2012 13:52:25 +0000 (14:52 +0100)
debian/changelog
debian/rules

index 6403cc957cb4528f2ed3337dd6fde04808263712..98a52bb8c67c1646c3abaf4adba8493942e4902a 100644 (file)
@@ -6,6 +6,7 @@ t-prot (2.101-2) unstable; urgency=low
     - Polish by Michał Kułach (closes: #659021)
     - Indonesian by Izharul Haq (closes: #659589)
   * Bump Standards-Version to 3.9.2.
+  * Add recommended targets build-arch/build-indep to debian/rules.
 
  -- 
 
index 947d2a1c7b50c66a6749a061e5ab2db070d72fd1..f55ee4ace36389d4cc5aee320f25df0c5967c245 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 # debian/rules for t-prot package
-# Copyright 2002-2009 by Gerfried Fuchs <rhonda@debian.at>
+# Copyright 2002-2012 by Gerfried Fuchs <rhonda@debian.org>
 # Licenced under WTFPLv2
 
 PKG = t-prot
@@ -16,16 +16,18 @@ INSTALL_DIR     = $(INSTALL) -p -d -oroot -groot -m755
 clean:
        $(checkdir)
        $(checkroot)
-       -rm -rf $(TMP) debian/files build-stamp
+       -rm -rf $(TMP) debian/files debian/stamp-*
 
-
-build-stamp: build
-build:
+build: build-arch build-indep
+build-arch: debian/stamp-build
+build-indep: debian/stamp-build
+debian/stamp-build:
        # uhm, build for a binary-indep package?  Don't try to be funny ;)
-       touch build-stamp
+       touch debian/stamp-build
 
 
-install: build
+install: debian/stamp-install
+debian/stamp-install: build
        $(checkdir)
        $(checkroot)
        -rm -rf $(TMP)
@@ -58,7 +60,7 @@ install: build
                man/man1/t-prot.1
 
 
-binary-indep: build install
+binary-indep: install
        $(checkdir)
        $(checkroot)
        $(INSTALL_DIR) $(TMP)/DEBIAN