From 6bd3694921d856fe6758779bf5fd9c65d3e84a50 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 22 Mar 2015 01:22:00 +0100 Subject: * Inline prism.css * Automatically delete source files in script/ and style/ folder in webclean target --- Makefile | 3 ++- style/style.less | 2 +- 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; -- cgit v1.2.3