File: Makefile

package info (click to toggle)
modestmaps-js 3.3.6%2Bds2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,184 kB
  • ctags: 1,465
  • sloc: makefile: 58
file content (15 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# to install marked: `npm install marked`
MARKED ?= ../node_modules/marked/bin/marked --gfm
VERSION = `cat ../VERSION`

all: index.html

index.html: toc.html api.html
	cat start.html toc.html middle.html api.html end.html \
		| perl -pi -e "s/{VERSION}/$(VERSION)/g" > $@

%.html: %.md
	$(MARKED) $< > $@

clean:
	rm -f index.html toc.html api.html