From d529c6fbdca7ce3782e75b3a74baad21ef2f92c3 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sun, 11 Jan 2009 18:23:59 -0500 Subject: Makefile: install cgit.{css,png} in CGIT_DATA_PATH CGIT_DATA_PATH defaults to CGIT_SCRIPT_PATH, but allows users to install the cgi and the data files in different locations. Signed-off-by: Lars Hjemli --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9457940..21d6cc8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ CGIT_VERSION = v0.8.1 CGIT_SCRIPT_NAME = cgit.cgi CGIT_SCRIPT_PATH = /var/www/htdocs/cgit +CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH) CGIT_CONFIG = /etc/cgitrc CACHE_ROOT = /var/cache/cgit SHA1_HEADER = @@ -138,13 +139,14 @@ test: all install: all $(INSTALL) -m 0755 -d $(DESTDIR)$(CGIT_SCRIPT_PATH) $(INSTALL) -m 0755 cgit $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME) - $(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.css - $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.png + $(INSTALL) -m 0755 -d $(DESTDIR)$(CGIT_DATA_PATH) + $(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css + $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png uninstall: rm -f $(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME) - rm -f $(CGIT_SCRIPT_PATH)/cgit.css - rm -f $(CGIT_SCRIPT_PATH)/cgit.png + rm -f $(CGIT_DATA_PATH)/cgit.css + rm -f $(CGIT_DATA_PATH)/cgit.png clean: rm -f cgit VERSION *.o *.d -- cgit 1.4.1 name='qt'>
Commit message (Expand)Author
2016-09-15Use strtoul in xxJune McEnroe
2016-09-15Write xx usage to stderrJune McEnroe
2016-09-13Use nvim as MANPAGERJune McEnroe
2016-09-13Use return value of getopt in xxJune McEnroe
2016-09-12Compile xx.c with clang specificallyJune McEnroe
2016-09-12Prevent offset from xx when reading zeroJune McEnroe
2016-09-12Rewrite xx.cJune McEnroe
2016-09-12Fix ascii alignment in xxJune McEnroe
2016-09-12Add -s flag to xxJune McEnroe
2016-09-12Add -a flag to xxJune McEnroe
2016-09-12Add -o flag to xxJune McEnroe
2016-09-12Add -g option to xxJune McEnroe
2016-09-12Add -c option to xxJune McEnroe
2016-09-12Add .bin/xx.cJune McEnroe
2016-09-08Rename colorscheme to lameJune McEnroe
2016-09-04Simplify colors syntax in zsh promptJune McEnroe
2016-08-29Color rubyStringDelimiter as StringJune McEnroe
2016-08-24Highlight rubyDefine as StructureJune McEnroe
2016-08-23Remove scroll bindings from nvim configJune McEnroe
2016-08-17Highlight Search with black foregroundJune McEnroe
2016-08-15Remove gruvboxJune McEnroe
2016-08-04Remove march from SSH configJune McEnroe
2016-08-01Disable tab indicators in iTermJune McEnroe
2016-07-30Color PreProc DarkGreenJune McEnroe
2016-07-29Color Structure and Typedef in grayJune McEnroe
2016-07-27Color comments DarkBlue and LightBlueJune McEnroe
2016-07-27Color macros in yellowJune McEnroe
2016-07-26Colorscheme colors and schemesJune McEnroe
2016-07-26Add ''subtle'' colorschemeJune McEnroe
2016-07-26Add htoprcJune McEnroe
2016-07-24Add may and refactor ssh configJune McEnroe
2016-07-18Disable cursorlineJune McEnroe
2016-07-18Use hard constrast gruvbox darkJune McEnroe
2016-07-15Remove vim configurationJune McEnroe
2016-07-15Add readline to README configurations listJune McEnroe
2016-07-15Add vendor script to READMEJune McEnroe
2016-07-15Pull latest pathogen and gruvboxJune McEnroe