Makefile
32 lines
| 473 B
| text/x-makefile
|
MakefileLexer
r6 | ||||
r46 | BIN = txt2web | |||
r50 | DIST = $(BIN).tar.xz | |||
r55 | SCRIPT = $(BIN).ros | |||
r1 | ||||
r44 | all: $(BIN) | |||
r46 | dist: $(DIST) | |||
r44 | graphs: diagrams.png | |||
r1 | ||||
r55 | $(BIN): bin/$(BIN) | |||
ln -f $< | ||||
bin/$(BIN): *.asd src/*.lisp src/*.ps strings/*.sexp bin/$(BIN).ros | ||||
ros build bin/$(SCRIPT) | ||||
r1 | ||||
r44 | %.png: %.dot | |||
r1 | dot $< -T png -o $@ | |||
r46 | $(DIST): $(BIN) extras/* | |||
tar cfvJ $@ $< extras | ||||
r1 | clean: | |||
r55 | rm -f $(BIN) bin/$(BIN) $(DIST) | |||
r44 | ||||
r52 | clean-cache: | |||
-rm -rf ~/.cache/common-lisp | ||||
r44 | ||||
r52 | fresh: clean clean-cache all | |||
r53 | .PHONY: all graphs clean clean-cache fresh | |||