summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-02-09 10:35:51 +0100
committerUlrich Müller <ulm@gentoo.org>2017-02-09 10:35:51 +0100
commit6d2b924cb02d447de5e764d3f9028e8e9548a65d (patch)
tree7e22595031e9a1938fe8bdd43002476a3e3e5766 /Makefile
parentMakefile: Remove some workarounds for tex4ht bugs. (diff)
downloadpms-6d2b924cb02d447de5e764d3f9028e8e9548a65d.tar.gz
pms-6d2b924cb02d447de5e764d3f9028e8e9548a65d.tar.bz2
pms-6d2b924cb02d447de5e764d3f9028e8e9548a65d.zip
Makefile: Use $@ rather than explicit target name.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5847f81..c8a9b75 100644
--- a/Makefile
+++ b/Makefile
@@ -26,14 +26,14 @@ pms.html: $(LATEXFILES) pms.bbl vc.tex
mk4ht xhlatex pms xhtml,fn-in
@# some www servers ignore meta tags, resulting in a wrong charset.
@# therefore recode the very few non-ascii characters
- recode -d l1..h3 pms.html
+ recode -d l1..h3 $@
@# declare encoding as utf-8, although it is pure ascii
- LC_ALL=C sed -i -e '/<?xml\|<meta/s/iso-8859-1/utf-8/' pms.html
+ LC_ALL=C sed -i -e '/<?xml\|<meta/s/iso-8859-1/utf-8/' $@
@# work around irregularity in how links to longtables are
@# formatted in the List of Tables
- LC_ALL=C sed -i -e '/<span class="lotToc" >&#x00A0;/{N;N;s/\(&#x00A0;<a \nhref="[^"]\+">\)\([0-9A-Z.]\+\)[ \n]/\2\1/}' pms.html
+ LC_ALL=C sed -i -e '/<span class="lotToc" >&#x00A0;/{N;N;s/\(&#x00A0;<a \nhref="[^"]\+">\)\([0-9A-Z.]\+\)[ \n]/\2\1/}' $@
@# fix broken span on title page
- LC_ALL=C sed -i -e '/<\/span><span $$/{N;s/<\/span><span [^>]*>\(&[a-z]uml;\)/\1/}' pms.html
+ LC_ALL=C sed -i -e '/<\/span><span $$/{N;s/<\/span><span [^>]*>\(&[a-z]uml;\)/\1/}' $@
pms.bbl: pms.bib pms.tex vc.tex eapi-cheatsheet.pdf
latex pms