This is an automated email from the git hooks/post-receive script. apo-guest pushed a commit to branch master in repository lordsawar.
commit c832779b0219c45f4305bbfbe7368112ddf0af46 Author: Markus Koschany <[email protected]> Date: Wed Jul 1 18:02:12 2015 +0200 Switch to dh sequencer and simplify debian/rules. --- debian/rules | 104 +++++++---------------------------------------------------- 1 file changed, 11 insertions(+), 93 deletions(-) diff --git a/debian/rules b/debian/rules index 3d55a26..9fcd243 100755 --- a/debian/rules +++ b/debian/rules @@ -1,102 +1,20 @@ #!/usr/bin/make -f -# -*- makefile -*- -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +%: + dh $@ --parallel --with autoreconf -CFLAGS = -Wall -g - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - -config.status: configure - dh_testdir - QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 - -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ - --prefix=/usr --bindir=\$${prefix}/games \ - --datadir=\$${prefix}/share/games \ - --mandir=\$${prefix}/share/man \ - --infodir=\$${prefix}/share/info \ - CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" - -build: build-arch build-indep -build-arch: build-stamp -build-indep: build-stamp -build-stamp: config.status - dh_testdir - - $(MAKE) - - touch $@ - -clean: - dh_testdir - dh_testroot - QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 - - [ ! -f Makefile ] || $(MAKE) distclean - rm -rf config.sub config.guess .pc build-stamp - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp +override_dh_auto_configure: + dh_auto_configure -- \ + --prefix=/usr \ + --bindir=\$${prefix}/games \ + --datadir=\$${prefix}/share/games \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info #Remove French translation as it is garbage - rm -rf debian/tmp/usr/share/games/locale/fr - + #rm -rf debian/tmp/usr/share/games/locale/fr +override_dh_install: dh_install --list-missing -binary-indep: build install - dh_testdir -i - dh_testroot -i - dh_installchangelogs -i ChangeLog - dh_installdocs -i - dh_installexamples -i - dh_link -i - dh_strip -i - dh_compress -i - dh_fixperms -i - dh_installdeb -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i - -binary-arch: build install - dh_testdir -a - dh_testroot -a - dh_installchangelogs -a ChangeLog - dh_installdocs -a - dh_installexamples -a - dh_installmenu -a - dh_installman -a - dh_link -a - dh_strip -a - dh_compress -a - dh_fixperms -a - dh_installdeb -a - dh_shlibdeps -a - dh_gencontrol -a - dh_md5sums -a - dh_builddeb -a - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install - get-orig-source: uscan --download-current-version --force-download --no-symlink -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/lordsawar.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

