[pnglite] 02/10: Convert to short dh(1) rules file.

Felix Geyer fgeyer at moszumanska.debian.org
Sat Apr 23 16:46:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

fgeyer pushed a commit to branch master
in repository pnglite.

commit 9dc0867a4b7f4a0c1f3eaf3e49eb824933938781
Author: Felix Geyer <fgeyer at debian.org>
Date:   Sat Apr 23 17:51:58 2016 +0200

    Convert to short dh(1) rules file.
---
 debian/changelog              |  1 +
 debian/libpnglite-dev.install |  3 +++
 debian/rules                  | 55 ++++---------------------------------------
 3 files changed, 9 insertions(+), 50 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 55c8db9..7219268 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ pnglite (0.1.17-2) UNRELEASED; urgency=low
 
   [ Felix Geyer ]
   * Switch to source format 3.0 (quilt).
+  * Convert to short dh(1) rules file.
 
  -- Ansgar Burchardt <ansgar at 43-1.org>  Thu, 29 May 2008 20:10:49 +0200
 
diff --git a/debian/libpnglite-dev.install b/debian/libpnglite-dev.install
new file mode 100644
index 0000000..c965512
--- /dev/null
+++ b/debian/libpnglite-dev.install
@@ -0,0 +1,3 @@
+libpnglite.a usr/lib
+pnglite.o usr/lib
+pnglite.h usr/include
diff --git a/debian/rules b/debian/rules
index 9a7b7fe..5b6232e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,57 +1,12 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# 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.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-
-# shared library versions, option 1
-version=2.0.5
-major=2
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
+%:
+	dh $@
 
+override_dh_auto_build:
 	gcc -Wall -c pnglite.c
 	ar -cvq libpnglite.a pnglite.o
 
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp pnglite.o libpnglite.a
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	dh_install libpnglite.a pnglite.o usr/lib
-	dh_install pnglite.h usr/include
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_install
-	dh_installdocs
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_shlibdeps
-	dh_makeshlibs
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-arch
-.PHONY: build clean binary-arch binary install
+override_dh_auto_clean:
+	rm -f pnglite.o libpnglite.a

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/pnglite.git



More information about the Pkg-games-commits mailing list