diff options
author | YAEGASHI Takeshi <yaegashi@debian.org> | 2014-02-16 14:45:35 (JST) |
---|---|---|
committer | YAEGASHI Takeshi <yaegashi@debian.org> | 2014-02-17 05:37:25 (JST) |
commit | 96f71afaa5ab11ed2f196eade81b59f76c8ace67 (patch) | |
tree | b6749ffa5a60ae0433194d448ea6520d51923f42 | |
parent | 068769fe32a45e00b94a56acee8bb1c0360c3221 (diff) | |
download | cgit-96f71afaa5ab11ed2f196eade81b59f76c8ace67.zip cgit-96f71afaa5ab11ed2f196eade81b59f76c8ace67.tar.gz |
Set CGIT_SCRIPT_PATH and CGIT_DATA_PATH to suit the Debian standard
-rwxr-xr-x | debian/rules | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index a1957b3..66f21de 100755 --- a/debian/rules +++ b/debian/rules | |||
@@ -4,6 +4,11 @@ | |||
4 | # Uncomment this to turn on verbose mode. | 4 | # Uncomment this to turn on verbose mode. |
5 | #export DH_VERBOSE=1 | 5 | #export DH_VERBOSE=1 |
6 | 6 | ||
7 | MAKE_ARGS = \ | ||
8 | prefix=/usr \ | ||
9 | CGIT_SCRIPT_PATH=/usr/lib/cgi-bin \ | ||
10 | CGIT_DATA_PATH=/usr/share/cgit/htdocs | ||
11 | |||
7 | %: | 12 | %: |
8 | dh $@ | 13 | dh $@ |
9 | 14 | ||
@@ -15,9 +20,9 @@ override_dh_auto_clean: | |||
15 | override_dh_auto_configure: | 20 | override_dh_auto_configure: |
16 | 21 | ||
17 | override_dh_auto_build: | 22 | override_dh_auto_build: |
18 | dh_auto_build -- prefix=/usr all doc | 23 | dh_auto_build -- $(MAKE_ARGS) all doc |
19 | 24 | ||
20 | override_dh_auto_test: | 25 | override_dh_auto_test: |
21 | 26 | ||
22 | override_dh_auto_install: | 27 | override_dh_auto_install: |
23 | dh_auto_install -- prefix=/usr install-doc | 28 | dh_auto_install -- $(MAKE_ARGS) install-doc |