Skip to content

Commit af36305

Browse files
committed
Fix Makefile
1 parent 0457cc2 commit af36305

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: all build clean docs default lint release
22

3-
VERSION=2.1.1
3+
VERSION=2.2.0
44

55
# Building tools
66
BROWSERIFY = $(realpath ./node_modules/.bin/browserify)
@@ -18,7 +18,8 @@ SAMPLES = build/katex-samples.html build/mathjax-v2-samples.html build/mathjax-v
1818
default: build
1919

2020

21-
all : clean build docs release
21+
all : clean
22+
@$(MAKE) --no-print-directory release
2223

2324

2425
watch-js: pseudocode.js $(wildcard src/*.js)
@@ -27,7 +28,7 @@ watch-js: pseudocode.js $(wildcard src/*.js)
2728

2829

2930
build: build/pseudocode.js build/pseudocode.css $(SAMPLES)
30-
@echo "> Building succeeded"
31+
@echo "> Building succeeded\n"
3132

3233
build/pseudocode.js: pseudocode.js $(wildcard src/*.js)
3334
@$(MAKE) --no-print-directory lint
@@ -45,7 +46,7 @@ build/%-samples.html: static/%.html.part static/body.html.part static/footer.htm
4546

4647

4748
release: build docs build/pseudocode-js.tar.gz build/pseudocode-js.zip
48-
@echo "> Release package generated"
49+
@echo "> Release package generated\n"
4950

5051
RELEASE_DIR=pseudocode.js-$(VERSION)/
5152
build/pseudocode-js.tar.gz: build/$(RELEASE_DIR)
@@ -74,4 +75,4 @@ docs: build/pseudocode.min.js build/pseudocode.min.css $(SAMPLES)
7475

7576

7677
clean:
77-
@rm -rf build/*
78+
@rm -rf build/*

0 commit comments

Comments
 (0)