source: Makefile

Last change on this file was 55, checked in by cabo@…, 4 years ago

Update Makefile

File size: 328 bytes
Line 
1OPEN=$(word 1, $(wildcard /usr/bin/xdg-open /usr/bin/open /bin/echo))
2XML2RFC=xml2rfc
3text: draft-ietf-lwig-coap.txt
4html: draft-ietf-lwig-coap.html
5all: text html
6
7%.txt: %.xml
8        $(XML2RFC) $<
9        $(OPEN) $@
10
11%.html: %.xml
12        $(XML2RFC) --html $<
13        $(OPEN) $@
14
15%.xml: %.mkd
16        kramdown-rfc2629 $< >$@.new
17        -diff $@ $@.new
18        mv $@.new $@
Note: See TracBrowser for help on using the repository browser.