summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorRomain Francoise <rfrancoise@debian.org>2010-09-12 10:56:36 +0200
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2012-02-10 00:44:58 +0100
commit4e775f6e3e855e0c52f3b4d3dda7bd7d31ba62fe (patch)
treed8ecfd1bbef48400d4604c62404908658abf508c /debian/rules
parente5f47376c8aa54c5d4eb8709b95f9cf68c4fa32f (diff)
Merge debian/ changes from Debian.
* New maintainer. * Switch (back) to a minimal rules files; restores missing examples. * Switch to source format 3.0 (quilt). * Add debian/watch. * Bump Standards-Version to 3.9.1, no changes needed.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules63
1 files changed, 2 insertions, 61 deletions
diff --git a/debian/rules b/debian/rules
index b424dfc..cbe925d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,62 +1,3 @@
#!/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
-
-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
- dh_testdir
- $(MAKE)
- touch build-stamp
-
-clean:
- -$(MAKE) clean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- $(MAKE) install DESTDIR=$(CURDIR)/debian/metastore
-
-binary: binary-arch binary-indep
-
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples examples/git-metapull examples/pre-commit
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-indep:
-# Nothing to do
-
-.PHONY: configure build clean install binary binary-arch binary-indep
+%:
+ dh $@