diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-18 22:37:13 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-18 22:37:13 +0100 |
commit | 7777c1058f55cc43a75a05178aeb40cec7bf69fb (patch) | |
tree | c832cbeb4662e368754b39074c26fa2f3c55f9c8 /Makefile | |
parent | clean up dependency list (diff) | |
download | sha3sum-7777c1058f55cc43a75a05178aeb40cec7bf69fb.tar.gz sha3sum-7777c1058f55cc43a75a05178aeb40cec7bf69fb.tar.bz2 sha3sum-7777c1058f55cc43a75a05178aeb40cec7bf69fb.tar.xz |
beginning on the info manual
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 33 |
1 files changed, 31 insertions, 2 deletions
@@ -44,7 +44,7 @@ shake512sum = SHAKE512 .PHONY: default -default: command shell +default: command shell info .PHONY: all all: command shell doc @@ -88,7 +88,7 @@ bin/%.fish: src/completion .PHONY: doc -doc: man +doc: man info pdf dvi ps .PHONY: man man: $(foreach C,$(CMDS),bin/$(C).1) @@ -98,6 +98,35 @@ bin/%.1: doc/xsum.texman cat $< | sed -e 's/xsum/$*/g' -e 's/XSUM/$($*)/g' | texman > $@ +.PHONY: info +info: bin/sha3sum.info +bin/%.info: doc/%.texinfo doc/fdl.texinfo + @mkdir -p obj bin + cd obj ; makeinfo ../$< + mv obj/$*.info bin/$*.info + +.PHONY: pdf +pdf: bin/sha3sum.pdf +bin/%.pdf: doc/%.texinfo doc/fdl.texinfo + @mkdir -p obj bin + cd obj ; yes X | texi2pdf ../$< + mv obj/$*.pdf bin/$*.pdf + +.PHONY: dvi +dvi: bin/sha3sum.dvi +bin/%.dvi: doc/%.texinfo doc/fdl.texinfo + @mkdir -p obj bin + cd obj ; yes X | $(TEXI2DVI) ../$< + mv obj/$*.dvi bin/$*.dvi + +.PHONY: ps +ps: bin/sha3sum.ps +bin/%.ps: doc/%.texinfo doc/fdl.texinfo + @mkdir -p obj bin + cd obj ; yes X | texi2pdf --ps ../$< + mv obj/$*.ps bin/$*.ps + + .PHONY: clean clean: |