Skip to content
This repository was archived by the owner on Oct 26, 2023. It is now read-only.

Commit 29114c9

Browse files
committed
makefile
1 parent 0727795 commit 29114c9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Makefile

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@ SCRBL := raco scribble ++main-xref-in --redirect-main http://docs.racket-lang.or
22

33
dist:
44
@git clone git@github.com:racket-tw/racket-tw.github.io.git dist -b master
5-
65
OBJS = $(patsubst %.scrbl, %.html, $(shell ls *.scrbl **/*.scrbl tutorial/**/*.scrbl))
76
OUT_DIR = dist
87
OUT_OBJS = $(addprefix $(OUT_DIR)/, $(OBJS))
98
$(OUT_DIR)/%.html: %.scrbl
109
@mkdir -p $(dir $@)
1110
@$(SCRBL) --dest $(dir $@) $<
1211

13-
.PHONY: build
12+
.PHONY: build publish
1413
build: $(OUT_DIR) $(OUT_OBJS)
15-
16-
.PHONY: publish
1714
publish: build
1815
@cd dist; git add -A
1916
@cd dist; git commit -m "update $$(date +%Y/%m/%d-%H:%M:%S)"

0 commit comments

Comments
 (0)