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.
This commit is contained in:
父節點
7fb12a8ee0
當前提交
52c926cadb
2
Makefile
2
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
|
||||
|
||||
|
二進制
favicon.ico
Normal file
二進制
favicon.ico
Normal file
未顯示二進位檔案。
之後 寬度: | 高度: | 大小: 1.1 KiB |
載入中…
新增問題並參考
Block a user