diff options
author | Andy Green <andy@warmcat.com> | 2018-06-23 18:25:53 +0800 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-03-14 23:18:22 +0100 |
commit | 72904bbd1a2f471d17f43c2c84d31a840e7e4ae7 (patch) | |
tree | a66035022779178ca850d3717dc286973107a5eb /Makefile | |
parent | 21c36836b16c225d335aa562fd42c74bbd8b4f8a (diff) | |
download | cgit-72904bbd1a2f471d17f43c2c84d31a840e7e4ae7.tar.gz cgit-72904bbd1a2f471d17f43c2c84d31a840e7e4ae7.tar.zst cgit-72904bbd1a2f471d17f43c2c84d31a840e7e4ae7.zip |
config: add js
Just like the config allows setting css URL path,
add a config for setting the js URL path
Setting the js path to an empty string disables
emitting the reference to it in the head section.
Signed-off-by: Andy Green <andy@warmcat.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -87,6 +87,7 @@ install: all $(INSTALL) -m 0755 cgit $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME) $(INSTALL) -m 0755 -d $(DESTDIR)$(CGIT_DATA_PATH) $(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css + $(INSTALL) -m 0644 cgit.js $(DESTDIR)$(CGIT_DATA_PATH)/cgit.js $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png $(INSTALL) -m 0644 favicon.ico $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico $(INSTALL) -m 0644 robots.txt $(DESTDIR)$(CGIT_DATA_PATH)/robots.txt |