aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/debianize_makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debianize_makefile')
-rw-r--r--debian/patches/debianize_makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/debianize_makefile b/debian/patches/debianize_makefile
new file mode 100644
index 0000000..26b8a6c
--- /dev/null
+++ b/debian/patches/debianize_makefile
@@ -0,0 +1,18 @@
+Index: upstream/Makefile
+===================================================================
+--- upstream.orig/Makefile
++++ upstream/Makefile
+@@ -2,11 +2,11 @@ all::
+
+ CGIT_VERSION = v0.12
+ CGIT_SCRIPT_NAME = cgit.cgi
+-CGIT_SCRIPT_PATH = /var/www/htdocs/cgit
++CGIT_SCRIPT_PATH = /usr/share/cgit
+ CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH)
+ CGIT_CONFIG = /etc/cgitrc
+ CACHE_ROOT = /var/cache/cgit
+-prefix = /usr/local
++prefix = /usr
+ libdir = $(prefix)/lib
+ filterdir = $(libdir)/cgit/filters
+ docdir = $(prefix)/share/doc/cgit