Sha256: 6b014e5c2f5fb047f50cc593e0702efd2a55a020341463e1c97eabca3dbfb211

Contents?: true

Size: 664 Bytes

Versions: 21

Compression:

Stored size: 664 Bytes

Contents

all::

PANDOC = pandoc
PANDOC_OPTS = -f markdown --email-obfuscation=none
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

21 entries across 21 versions & 1 rubygems

Version Path
rainbows-5.2.0 Documentation/GNUmakefile
rainbows-5.1.1 Documentation/GNUmakefile
rainbows-5.1.0 Documentation/GNUmakefile
rainbows-5.0.0.5.ge717 Documentation/GNUmakefile
rainbows-5.0.0 Documentation/GNUmakefile
rainbows-4.7.0 Documentation/GNUmakefile
rainbows-4.6.2 Documentation/GNUmakefile
rainbows-4.6.1 Documentation/GNUmakefile
rainbows-4.6.0.4.g4108 Documentation/GNUmakefile
rainbows-4.6.0 Documentation/GNUmakefile
rainbows-4.5.0 Documentation/GNUmakefile
rainbows-4.4.3 Documentation/GNUmakefile
rainbows-4.4.2 Documentation/GNUmakefile
rainbows-4.4.1.1.gd5c8c Documentation/GNUmakefile
rainbows-4.4.1 Documentation/GNUmakefile
rainbows-4.4.0 Documentation/GNUmakefile
rainbows-4.3.1 Documentation/GNUmakefile
rainbows-4.3.0 Documentation/GNUmakefile
rainbows-4.2.0 Documentation/GNUmakefile
rainbows-4.1.0 Documentation/GNUmakefile