diff options
author | 2017-02-09 10:35:51 +0100 | |
---|---|---|
committer | 2017-02-09 10:35:51 +0100 | |
commit | 6d2b924cb02d447de5e764d3f9028e8e9548a65d (patch) | |
tree | 7e22595031e9a1938fe8bdd43002476a3e3e5766 /Makefile | |
parent | Makefile: Remove some workarounds for tex4ht bugs. (diff) | |
download | pms-6d2b924cb02d447de5e764d3f9028e8e9548a65d.tar.gz pms-6d2b924cb02d447de5e764d3f9028e8e9548a65d.tar.bz2 pms-6d2b924cb02d447de5e764d3f9028e8e9548a65d.zip |
Makefile: Use $@ rather than explicit target name.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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" > /{N;N;s/\( <a \nhref="[^"]\+">\)\([0-9A-Z.]\+\)[ \n]/\2\1/}' pms.html + LC_ALL=C sed -i -e '/<span class="lotToc" > /{N;N;s/\( <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 |