Skip to content

Commit fe7cc28

Browse files
committed
Consolidate new highlights build under make html
1 parent c0a734b commit fe7cc28

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
.PHONY: html html-nohighlight test help
22

3-
html: bigpage
3+
html: init-highlights bigpage
44
perl6 htmlify.p6 --parallel=1
55

6-
html-highlights: html
7-
86
init-highlights:
97
ATOMDIR="./highlights/atom-language-perl6"; \
108
if [ -d "$$ATOMDIR" ]; then (cd "$$ATOMDIR" && git pull); \

util/update-and-sync

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ else
3030

3131
# if the htmlify fails, sync the build log.
3232
# since sync-build-log returns false, not the whole thing is synced
33-
time (make init-highlights && make html-highlights) || ./util/sync-build-log
33+
time make html || ./util/sync-build-log
3434
./util/sync
3535
fi
3636

0 commit comments

Comments
 (0)