Use debhelper v7; rules file minimisation to 3 lines.
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 24 Apr 2008 06:35:03 +0000 (02:35 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 24 Apr 2008 06:35:03 +0000 (02:35 -0400)
Makefile
debian/changelog
debian/compat
debian/control
debian/rules

index a7d15ff975464d6dcc58a05cd6bccf460bb634e1..fe73898372fdf70d648c4e7cf36a29c68b8b958c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,15 +16,15 @@ ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 CFLAGS += -g
 endif
 
-all:   $(OTHER) $(BUILD)
+all:   $(OTHER) $(BUILD) samples
 
 install:       $(BUILD) $(OTHER)
-       install -d $(PREFIX)/usr/games
-       $(INSTALL_PROGRAM) $(BUILD) $(PREFIX)/usr/games/
-       install $(OTHER) $(PREFIX)/usr/games/
-       install -d $(PREFIX)/usr/share/man/man6
-       install -m 0644 filters.6 $(PREFIX)/usr/share/man/man6
-       cd $(PREFIX)/usr/share/man/man6 && \
+       install -d $(DESTDIR)/usr/games
+       $(INSTALL_PROGRAM) $(BUILD) $(DESTDIR)/usr/games/
+       install $(OTHER) $(DESTDIR)/usr/games/
+       install -d $(DESTDIR)/usr/share/man/man6
+       install -m 0644 filters.6 $(DESTDIR)/usr/share/man/man6
+       cd $(DESTDIR)/usr/share/man/man6 && \
                $(foreach prog,$(BUILD) $(OTHER),ln -s filters.6 $(prog).6;)
 
 samples:       $(BUILD) $(OTHER)
index 56336983d8ba6c6fc415041a2692f4a67776aadd..8b0c9ff400b46bd22c19cbc75d364d92ce961756 100644 (file)
@@ -1,3 +1,9 @@
+filters (2.45) UNRELEASED; urgency=low
+
+  * Use debhelper v7; rules file minimisation to 3 lines.
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 24 Apr 2008 02:34:34 -0400
+
 filters (2.44) unstable; urgency=low
 
   * Work around dpkg bug #476138. Closes: #475979
index b8626c4cff2849624fb67f87cd0ad72b163671ad..7f8f011eb73d6043d2e6db9d2c101195ae2801f2 100644 (file)
@@ -1 +1 @@
-4
+7
index e3fbbc0a003953bdab0ed6f35bbd1a4898312dd5..e80fe325cab74e8db969313e74ecae2562f82450 100644 (file)
@@ -1,7 +1,7 @@
 Source: filters
 Section: games
 Priority: optional
-Build-Depends: debhelper (>= 4), flex, bison | byacc | btyacc, dpkg-dev (>= 1.9.0)
+Build-Depends: debhelper (>= 7), flex, bison | byacc | btyacc, dpkg-dev (>= 1.9.0)
 Maintainer: Joey Hess <joeyh@debian.org>
 Standards-Version: 3.7.3
 Vcs-Git: git://git.kitenet.net/filters
index b3effca8f5daf678bf49cf0e42a2210822af63ce..bda6f51e21325756075559cf44d5bab5ac7f1d9d 100755 (executable)
@@ -1,41 +1,7 @@
 #!/usr/bin/make -f
-
-build: build-stamp
-build-stamp:
-       dh_testdir
-       $(MAKE)
-       $(MAKE) samples
-       touch build-stamp
-
-clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp
-       $(MAKE) clean
-       dh_clean
-
-binary-indep: build
-
-binary-arch: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-       dh_installdirs
-       $(MAKE) PREFIX=debian/filters install
-       dh_installdocs README SAMPLES ky00te.dir/README.ky00te
-       dh_installchangelogs
-       dh_strip
-       dh_compress
-       dh_fixperms
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
+%:
+       dh $@
 
 # Not intended for use by anyone except the author.
 announcedir:
        @echo ${HOME}/src/joeywiki/code/filters/news
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
This page took 0.014697 seconds and 4 git commands to generate.