fixed broken link in swatchmaker Makefile
[bootswatch] / swatchmaker / Makefile
1 #
2 # BUILD BOOTSWATCH SWATCH
3 #
4
5 OUTPUT_PATH = swatch
6
7 bootswatch:
8         lessc swatchmaker.less > ${OUTPUT_PATH}/bootstrap.css
9         lessc --compress  swatchmaker.less > ${OUTPUT_PATH}/bootstrap.min.css
10         lessc swatchmaker-responsive.less > ${OUTPUT_PATH}/bootstrap-responsive.css
11         lessc --compress  swatchmaker-responsive.less > ${OUTPUT_PATH}/bootstrap-responsive.min.css
12
13 bootstrap:
14         -test -d bootstrap && rm -r bootstrap
15         curl --location -o latest_bootstrap.tar.gz https://github.com/twitter/bootstrap/tarball/master
16         tar -xvzf latest_bootstrap.tar.gz
17         mv twitter-bootstrap* bootstrap
18         rm latest_bootstrap.tar.gz
19
20 default:
21         -test -f swatch/variables.less && rm swatch/variables.less
22         -test -f swatch/bootswatch.less && rm swatch/bootswatch.less
23         curl --location -o swatch/variables.less https://raw.github.com/twitter/bootstrap/master/less/variables.less
24         curl --location -o swatch/bootswatch.less https://raw.github.com/thomaspark/bootswatch/gh-pages/swatchmaker/swatch/bootswatch.less
25         make bootswatch
26
27 .PHONY: bootswatch bootstrap default
28