]> git.donarmstrong.com Git - debbugs.git/commitdiff
build and install the favicon
authorDon Armstrong <don@donarmstrong.com>
Wed, 7 Mar 2018 21:34:46 +0000 (13:34 -0800)
committerDon Armstrong <don@donarmstrong.com>
Wed, 7 Mar 2018 21:34:46 +0000 (13:34 -0800)
Makefile
templates/en_US/html/pre_title.tmpl

index 105386e2c03d2f6950d661557d45a63bec287bd4..a279aeb83e6fb1228aacb465c598057eb818f1c0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@ all: build
 build:
        $(PERL) Makefile.PL
        $(MAKE) -f Makefile.perl
+       $(MAKE) -C html/logo
 
 test:
        LC_ALL=$(UTF8_LOCALE) $(PERL) -MTest::Harness -I. -e 'runtests(glob(q(t/*.t)))'
@@ -73,6 +74,7 @@ $(var_dir)/spool/db-h $(scripts_dir) $(examples_dir) $(man8_dir); \
        $(foreach html, $(htmls_in), $(install_data) $(html) $(etc_dir)/html;)
        $(install_data) html/htaccess $(var_dir)/www/db/.htaccess
        $(install_data) html/bugs.css $(var_dir)/www/css/bugs.css
+       $(install_data) html/logo/debbugs_logo_icon.png $(var_dir)/www/favicon.png
 
        # install the CGIs
        for cgi in $(cgis); do $(install_exec) $$cgi $(var_dir)/www/cgi; done
index 2f7ab77029b088a5b14f015b7574e41b0707d563..f28a3ed20575b9f227eb09600296b77eba7eeb20 100644 (file)
@@ -1,3 +1,4 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head>
-<title>
\ No newline at end of file
+<link rel="icon" href="//favicon.png">
+<title>