From 96f71afaa5ab11ed2f196eade81b59f76c8ace67 Mon Sep 17 00:00:00 2001 From: YAEGASHI Takeshi Date: Sun, 16 Feb 2014 14:45:35 +0900 Subject: Set CGIT_SCRIPT_PATH and CGIT_DATA_PATH to suit the Debian standard diff --git a/debian/rules b/debian/rules index a1957b3..66f21de 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,11 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +MAKE_ARGS = \ + prefix=/usr \ + CGIT_SCRIPT_PATH=/usr/lib/cgi-bin \ + CGIT_DATA_PATH=/usr/share/cgit/htdocs + %: dh $@ @@ -15,9 +20,9 @@ override_dh_auto_clean: override_dh_auto_configure: override_dh_auto_build: - dh_auto_build -- prefix=/usr all doc + dh_auto_build -- $(MAKE_ARGS) all doc override_dh_auto_test: override_dh_auto_install: - dh_auto_install -- prefix=/usr install-doc + dh_auto_install -- $(MAKE_ARGS) install-doc -- cgit v0.10.1