summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2013-05-29 10:16:06 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2013-05-31 02:52:24 +0200
commit52c926cadbff5fd0aaf00ebd79619112aba46182 (patch)
tree301b06f1e17800e82caa88df85b51028a1541198
parent7fb12a8ee0789e3eab2680ae6c3fde0f0f233d22 (diff)
Add favicon
This adds a favicon to cgit. It is not enabled by default, though.
The file contains two icons, 16x16 and 32x32 pixels, optimized for size.
-rw-r--r--Makefile2
-rw-r--r--favicon.icobin0 -> 1078 bytes
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d86d131..00b3269 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,7 @@ install: all
 	$(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
+	$(INSTALL) -m 0644 favicon.ico $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico
 	$(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir)
 	$(COPYTREE)  filters/* $(DESTDIR)$(filterdir)
 
@@ -98,6 +99,7 @@ uninstall:
 	rm -f $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)
 	rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css
 	rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png
+	rm -f $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico
 
 uninstall-doc: uninstall-man uninstall-html uninstall-pdf
 
diff --git a/favicon.ico b/favicon.ico
new file mode 100644
index 0000000..56ff593
--- /dev/null
+++ b/favicon.ico
Binary files differ