File: Makefile

package info (click to toggle)
leiningen-clojure 2.11.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,124 kB
  • sloc: xml: 925; sh: 776; lisp: 46; makefile: 45; java: 16
file content (19 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DOCS=tutorial.html faq.html plugins.html profiles.html deploy.html

upload: html
	rsync -r ./ leiningen.org:leiningen.org/

html: $(DOCS)

# we can't set the prerequisite properly because we used uppercase
# filenames for some reason in the markdown
%.html:
	pandoc --template template.html --to html -o $@ \
		--metadata title="Leiningen $*" \
		../doc/$(shell echo $* | tr '[:lower:]' '[:upper:]').md

clean: ; rm $(DOCS)

# TODO: css for code styles

.PHONY: upload html