diff options
author | Todd Zullinger <tmz@pobox.com> | 2010-09-06 22:31:24 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-09-20 02:11:45 (JST) |
commit | 6d10c130585eccae07eb17b3aff86eeb02cf4fb8 (patch) | |
tree | 555a06c36abf87c9940bce7c0fab6f41befe7c2f /Makefile | |
parent | 0c3130de9677ddb0a3e257dba8de4e066ac0db6b (diff) | |
download | cgit-6d10c130585eccae07eb17b3aff86eeb02cf4fb8.zip cgit-6d10c130585eccae07eb17b3aff86eeb02cf4fb8.tar.gz |
Install filter scripts
The syntax-highlighting.sh script is quite useful without any changes.
Installing it by default makes it easier to use and package.
Signed-off-by: Todd Zullinger <tmz@pobox.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -5,6 +5,8 @@ CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH) | |||
5 | CGIT_CONFIG = /etc/cgitrc | 5 | CGIT_CONFIG = /etc/cgitrc |
6 | CACHE_ROOT = /var/cache/cgit | 6 | CACHE_ROOT = /var/cache/cgit |
7 | prefix = /usr | 7 | prefix = /usr |
8 | libdir = $(prefix)/lib | ||
9 | filterdir = $(libdir)/cgit/filters | ||
8 | docdir = $(prefix)/share/doc/cgit | 10 | docdir = $(prefix)/share/doc/cgit |
9 | htmldir = $(docdir) | 11 | htmldir = $(docdir) |
10 | pdfdir = $(docdir) | 12 | pdfdir = $(docdir) |
@@ -175,6 +177,8 @@ install: all | |||
175 | $(INSTALL) -m 0755 -d $(DESTDIR)$(CGIT_DATA_PATH) | 177 | $(INSTALL) -m 0755 -d $(DESTDIR)$(CGIT_DATA_PATH) |
176 | $(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css | 178 | $(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css |
177 | $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png | 179 | $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png |
180 | $(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir) | ||
181 | $(INSTALL) -m 0755 filters/* $(DESTDIR)$(filterdir) | ||
178 | 182 | ||
179 | install-doc: install-man install-html install-pdf | 183 | install-doc: install-man install-html install-pdf |
180 | 184 | ||