[PATCH v2 2/5] cgit.js: introduce

Andy Green andy at warmcat.com
Thu Jun 21 11:34:54 CEST 2018


Similar to how cgit.css is handled, we will also provide and
reference a cgit.js for javascript from now on.

Signed-off-by: Andy Green <andy at warmcat.com>
---
 Makefile |    1 +
 cgit.js  |    0 
 2 files changed, 1 insertion(+)
 create mode 100644 cgit.js

diff --git a/Makefile b/Makefile
index 229cd5d..083d1ce 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/cgit.js b/cgit.js
new file mode 100644
index 0000000..e69de29



More information about the CGit mailing list