Sha256: bdd4a47a8c9b2269f7d22ad1c9b05cab85f266c67f8eeb754c59ffb03c34e0bc

Contents?: true

Size: 595 Bytes

Versions: 10

Compression:

Stored size: 595 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,posix-mq-rb)
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

10 entries across 10 versions & 1 rubygems

Version Path
posix_mq-2.1.0 Documentation/GNUmakefile
posix_mq-2.0.0 Documentation/GNUmakefile
posix_mq-1.0.0 Documentation/GNUmakefile
posix_mq-0.8.0pre Documentation/GNUmakefile
posix_mq-0.7.0 Documentation/GNUmakefile
posix_mq-0.6.0.11.g634a Documentation/GNUmakefile
posix_mq-0.6.0.7.g3a8a Documentation/GNUmakefile
posix_mq-0.6.0 Documentation/GNUmakefile
posix_mq-0.5.1 Documentation/GNUmakefile
posix_mq-0.5.0 Documentation/GNUmakefile