treat favicon.ico like a normal image
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 20 Mar 2013 17:48:25 +0000 (18:48 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 20 Mar 2013 17:48:25 +0000 (18:48 +0100)
Makefile
setup.py
views/img/favicon.ico [moved from apache/favicon.ico with 100% similarity]

index e375ae7..f1f19bb 100644 (file)
--- 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
index e767a3d..d6b487e 100644 (file)
--- 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' ]),
         ])
similarity index 100%
rename from apache/favicon.ico
rename to views/img/favicon.ico