[Pkg-cgit-commits] [pkg-cgit] 08/49: Update rules file

Peter Colberg peter at colberg.org
Thu Jun 16 01:49:13 UTC 2016


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

pc-guest pushed a commit to branch master
in repository pkg-cgit.

commit 7de80cfce81a15e9482e878cbdb10b2c9926634d
Author: Alexander Wirt <formorer at debian.org>
Date:   Sun Jul 20 11:48:36 2014 +0200

    Update rules file
---
 debian/rules | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6a0744f..3e99aa1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,19 +17,24 @@ include /usr/share/dpkg/default.mk
 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 
+b := $(shell pwd)/debian/cgit/
+
 # main packaging script based on dh7 syntax
 %:
 	dh $@ 
 
-# debmake generated override targets
-# See dpkg-architecture(1) to set multiarch path as needed.
-#DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-#
-# This is example for Cmake (See http://bugs.debian.org/641051 )
-#override_dh_auto_configure:
-#	dh_auto_configure -- \
-#	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
-
+override_dh_auto_clean:
+	dh_auto_clean
+	make cleanall
+	-rm tests/test-results/*.counts
+	-rm -rf .depend
+	-rm cgitrc.5 
 
+override_dh_auto_build:
+	dh_auto_build
+	a2x -f manpage cgitrc.5.txt
 
+override_dh_auto_install:
+	dh_auto_install
+	mv $b/usr/share/cgit/cgit.cgi $b/usr/lib/cgit
 

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



More information about the Pkg-cgit-commits mailing list