blob: f6421f4dd7c8fb0b010cee120d06b3a7e7f45cd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
PREFIX ?= ..
all: synthesis
%: %.scm
chicken-csc -static -o $@ $<
%.1: %.org
emacs --batch --file $< --load ../docs/res/publish.el --funcall org-man-export-to-man
mv $(<:.org=.man) $@
install: synthesis-results synthesis-results.1
install -d $(PREFIX)/bin
install -C synthesis-results $(PREFIX)/bin
install -d $(PREFIX)/share/man/man1
install -C synthesis-results.1 $(PREFIX)/share/man/man1
clean:
rm -f synthesis-results synthesis-results.1
rm -f *.link
.PHONY: all install
|