Makefile
46 lines
| 709 B
| text/x-makefile
|
MakefileLexer
r6 | ||||
r46 | BIN = txt2web | |||
PKG = $(BIN) | ||||
DIST = txt2web.tar.xz | ||||
r6 | ||||
LISP = sbcl | ||||
r1 | ||||
r44 | all: $(BIN) | |||
r46 | dist: $(DIST) | |||
r44 | graphs: diagrams.png | |||
r1 | ||||
r46 | $(BIN): *.asd src/*.lisp src/*.ps strings/*.sexp | |||
r6 | buildapp.$(LISP) --asdf-path .\ | |||
--asdf-tree .qlot/dists\ | ||||
r46 | --load-system $(PKG)\ | |||
--entry $(PKG):entry-point\ | ||||
r6 | --output $(BIN) | |||
r1 | ||||
install-deps: | ||||
sbcl --load install-deps.lisp | ||||
update-deps: | ||||
sbcl --load update-deps.lisp | ||||
r44 | %.png: %.dot | |||
r1 | dot $< -T png -o $@ | |||
r46 | $(DIST): $(BIN) extras/* | |||
tar cfvJ $@ $< extras | ||||
upload: $(DIST) | ||||
curl --upload-file $(DIST) https://transfer.sh/$(DIST) | ||||
@echo | ||||
r44 | ||||
distclean: clean clean-deps | ||||
r1 | clean: | |||
r46 | rm -f $(BIN) $(DIST) | |||
r44 | ||||
clean-deps: | ||||
r46 | rm qlfile.lock | |||
rm -rf .qlot | ||||
r44 | ||||
r46 | .PHONY: all graphs install-deps update-deps clean upload | |||