[SCM] japa/master: Switched to short dephelper

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Tue Feb 15 00:07:37 UTC 2011


The following commit has been merged in the master branch:
commit b9335fb3a707679e0b11339309cbdc41bb456e61
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Tue Feb 15 00:59:56 2011 +0100

    Switched to short dephelper

diff --git a/debian/rules b/debian/rules
index 69e94d4..95c5f01 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,79 +1,10 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+LDFLAGS+=-Wl,--as-needed
 
-# use dpatch
-include /usr/share/dpatch/dpatch.make
+%:
+	dh $@
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp patch-stamp
-	dh_testdir
-	$(MAKE)
-	touch $@
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	$(MAKE) clean
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	$(MAKE) DESTDIR=$(CURDIR)/debian/japa install
-
-
-binary-indep: build install
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
-#	dh_install
-	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_python
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_perl
-#	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch
+override_dh_installchangelogs:
+	dh_installchangelogs README

-- 
japa packaging



More information about the pkg-multimedia-commits mailing list