source: appstream-generator/contrib/setup/js_tmp/highlightjs/Makefile @ 4841

Last change on this file since 4841 was 4841, checked in by Juanma, 2 years ago

Initial release

File size: 546 bytes
RevLine 
[4841]1VERSION=9.10.0
2
3default: build
4        @cp -f build/highlight.* .
5        @cp -f highlight/src/styles/* styles
6        @du -hs highlight.*
7
8build: highlight
9        @cd highlight && git fetch && git checkout $(VERSION)
10        @cd highlight && npm install
11        @mkdir -p build
12        @cd highlight && node tools/build.js && cp build/highlight.pack.js ../build/highlight.pack.min.js
13        @cd highlight && node tools/build.js -n && cp build/highlight.pack.js ../build/highlight.pack.js
14
15highlight:
16        @git clone git://github.com/isagalaev/highlight.js.git $@
17
18clean:
19        @rm -rf build
20
21.PHONY: default
Note: See TracBrowser for help on using the repository browser.