Sha256: c5a1de16897089bbd144b3accee332c3caad039d5c2515099f050a1d217d3467

Contents?: true

Size: 680 Bytes

Versions: 25

Compression:

Stored size: 680 Bytes

Contents

all::

PANDOC = pandoc
PANDOC_OPTS = -f markdown --email-obfuscation=none --sanitize-html
pandoc = $(PANDOC) $(PANDOC_OPTS)
pandoc_html = $(pandoc) --toc -t html --no-wrap

man1 := $(addsuffix .1,rainbows)
html1 := $(addsuffix .html,$(man1))

all:: html man

html: $(html1)
man: $(man1)

install-html: html
	mkdir -p ../doc/man1
	install -m 644 $(html1) ../doc/man1

install-man: man
	mkdir -p ../man/man1
	install -m 644 $(man1) ../man/man1

%.1: %.1.txt
	$(pandoc) -s -t man < $< > $@+ && mv $@+ $@
%.1.html: %.1.txt
	$(pandoc_html) < $< > $@+ && mv $@+ $@

comparison.html: comparison.haml
	haml -t ugly < $< > $@+ && mv $@+ $@

clean::
	$(RM) $(man1) $(html1) comparison.html

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
rainbows-3.4.0 Documentation/GNUmakefile
rainbows-3.3.0 Documentation/GNUmakefile
rainbows-3.2.0 Documentation/GNUmakefile
rainbows-3.1.0 Documentation/GNUmakefile
rainbows-3.0.0 Documentation/GNUmakefile
rainbows-2.1.0 Documentation/GNUmakefile
rainbows-2.0.1 Documentation/GNUmakefile
rainbows-2.0.0 Documentation/GNUmakefile
rainbows-1.0.0 Documentation/GNUmakefile
rainbows-1.0.0pre1 Documentation/GNUmakefile
rainbows-0.97.0 Documentation/GNUmakefile
rainbows-0.96.0 Documentation/GNUmakefile
rainbows-0.95.1 Documentation/GNUmakefile
rainbows-0.95.0 Documentation/GNUmakefile
rainbows-0.94.0 Documentation/GNUmakefile
rainbows-0.93.0 Documentation/GNUmakefile
rainbows-0.92.0 Documentation/GNUmakefile
rainbows-0.91.1 Documentation/GNUmakefile
rainbows-0.91.0 Documentation/GNUmakefile
rainbows-0.90.2 Documentation/GNUmakefile