summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-03-22 01:22:00 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-03-22 01:22:00 +0100
commit6bd3694921d856fe6758779bf5fd9c65d3e84a50 (patch)
tree9b5939a2736f1e93565a0b3b4c54c09113da6354
parentb07cc6b57a7f0fd80c390c7f07bccd1b2b6dfaa3 (diff)
* Inline prism.css
* Automatically delete source files in script/ and style/ folder in webclean target
-rw-r--r--Makefile3
-rw-r--r--style/style.less2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3288ec6..b2d0adc 100644
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,8 @@ webclean:
# you really want to delete all development files and prepare this folder
# for deployment on a webserver
test ! -e .git
- rm -f style/*.less
+ find style/ -type f -not -name "style.css" -delete
+ find script/ -type f -not -name "ousia.js" -delete
rm -f $(TARGET_XML)
rm -f $(SOURCE_OSML)
rm -rf ontology www-src
diff --git a/style/style.less b/style/style.less
index b60acad..1d14d30 100644
--- a/style/style.less
+++ b/style/style.less
@@ -14,7 +14,7 @@
@import "header.less";
/* Import the prism code highlighter stylesheet */
-@import "prism.css";
+@import (less) "prism.css";
span.ipa {
color: gray;