Commit b45b0d91 authored by POTTIER Francois's avatar POTTIER Francois

A Makefile simplification.

parent a9c2dc5b
......@@ -4,8 +4,6 @@ export TEXINPUTS=.:
DEPS = $(wildcard *.tex) $(wildcard *.bib) $(wildcard *.sty) $(wildcard *.mly)
SED := $(shell if hash gsed 2>/dev/null ; then echo gsed ; else echo sed ; fi)
all: manual.pdf manual.html
%.pdf: %.tex $(DEPS)
......@@ -23,7 +21,7 @@ manual.html: manual.tex $(DEPS) $(wildcard *.hva)
# asks for (padding:0px;) while the TeX rendering
# inserts spacing between columns. Change this
# to {padding:1px;}
$(SED) -i -e "s/cellpadding0/cellpadding1/" manual.html
sed -i.bak -e "s/cellpadding0/cellpadding1/" manual.html && rm manual.html.bak
#
# Note: hevea generates images manual00{1,2,3}.png for the tikz pictures
# present in the manual.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment