From a53c940d2f5e1473627beaba542963c2834c6eb9 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 20 Mar 2013 18:48:25 +0100 Subject: [PATCH] treat favicon.ico like a normal image --- Makefile | 4 ++-- setup.py | 1 - {apache => views/img}/favicon.ico | Bin 3 files changed, 2 insertions(+), 3 deletions(-) rename {apache => views/img}/favicon.ico (100%) diff --git a/Makefile b/Makefile index e375ae70..f1f19bbb 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ thirdparty-js: thirdparty-css: @find $(THIRD-PARTY-RESOURCES) -name '*.css' thirdparty-img: - @find $(THIRD-PARTY-RESOURCES) -name '*.png' + @find $(THIRD-PARTY-RESOURCES) -name '*.png' -o -name '*.ico' # we might have any of these as templates - e.g. ./unfold/templates/plugin-init.js # so if there's a /templates/ in the path ignore the file @@ -49,7 +49,7 @@ local-js: force local-css: force @find . -type f -name '*.css' | egrep -v 'all-(static|templates)/|/third-party/|/templates/' local-img: force - @find . -type f -name '*.png' | egrep -v 'all-(static|templates)/|/third-party/|/templates/' + @find . -type f -name '*.png' -o -name '*.ico' | egrep -v 'all-(static|templates)/|/third-party/|/templates/' list-js: thirdparty-js local-js list-css: thirdparty-css local-css diff --git a/setup.py b/setup.py index e767a3db..d6b487e8 100644 --- a/setup.py +++ b/setup.py @@ -19,6 +19,5 @@ setup(packages = packages, ( 'all-static/css', glob ('all-static/css/*')), ( 'all-static/img', glob ('all-static/img/*')), ( 'all-templates', glob ('all-templates/*')), - ( 'all-static', ['apache/favicon.ico', ] ), ( 'apache', [ 'apache/myslice.conf', 'apache/myslice.wsgi' ]), ]) diff --git a/apache/favicon.ico b/views/img/favicon.ico similarity index 100% rename from apache/favicon.ico rename to views/img/favicon.ico -- 2.43.0