Sha256: c6c8fe55139bc6fdeeea5ba74cf46ebce195a517e2d637f90332670f116fd863

Contents?: true

Size: 591 Bytes

Versions: 15

Compression:

Stored size: 591 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,zbatery)
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 $@+ $@

clean::
	$(RM) $(man1) $(html1)

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
zbatery-4.0.0 Documentation/GNUmakefile
zbatery-3.4.0 Documentation/GNUmakefile
zbatery-3.3.0 Documentation/GNUmakefile
zbatery-3.1.0 Documentation/GNUmakefile
zbatery-3.0.0 Documentation/GNUmakefile
zbatery-0.6.0 Documentation/GNUmakefile
zbatery-0.5.0 Documentation/GNUmakefile
zbatery-0.4.0 Documentation/GNUmakefile
zbatery-0.3.1 Documentation/GNUmakefile
zbatery-0.3.0 Documentation/GNUmakefile
zbatery-0.2.1 Documentation/GNUmakefile
zbatery-0.2.0 Documentation/GNUmakefile
zbatery-0.1.1 Documentation/GNUmakefile
zbatery-0.1.0 Documentation/GNUmakefile
zbatery-0.0.0 Documentation/GNUmakefile