diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -11,8 +11,7 @@ | |||
11 | 11 | ||
12 | include config.mk | 12 | include config.mk |
13 | 13 | ||
14 | all: locale template | 14 | all: css locale template |
15 | # Consider using pax instead of cp. | ||
16 | cp -R dist rendered/ | 15 | cp -R dist rendered/ |
17 | cp -R static rendered/ | 16 | cp -R static rendered/ |
18 | cp rendered/static/robots.txt rendered/robots.txt | 17 | cp rendered/static/robots.txt rendered/robots.txt |
@@ -49,6 +48,10 @@ locale-update: locale/messages.pot | |||
49 | 48 | ||
50 | if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi | 49 | if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi |
51 | 50 | ||
51 | # sass preprocessor | ||
52 | css: | ||
53 | sassc static/styles.sass static/styles.css | ||
54 | |||
52 | # Compile translation files for use. | 55 | # Compile translation files for use. |
53 | locale-compile: | 56 | locale-compile: |
54 | $(BABEL) -v compile -d locale -l en --use-fuzzy | 57 | $(BABEL) -v compile -d locale -l en --use-fuzzy |