about summary refs log tree commit diff
path: root/Makefile
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 /Makefile
parentui-summary: do not free ref (diff)
downloadcgit-pink-52c926cadbff5fd0aaf00ebd79619112aba46182.tar.gz
cgit-pink-52c926cadbff5fd0aaf00ebd79619112aba46182.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 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