On Thu, Jun 21, 2018 at 05:34:54PM +0800, Andy Green wrote: > 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 <a...@warmcat.com> > ---
I think we can merge this and the previous patch, along with the change to output a <script> element in the document header. > 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 _______________________________________________ CGit mailing list CGit@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/cgit