diff options
author | Ulrich Müller <ulm@gentoo.org> | 2017-05-25 20:46:10 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2017-05-25 20:46:10 +0200 |
commit | 6f049fdf1b718d0c65f006e3cc9254ac55bc91c4 (patch) | |
tree | e16e489cbb225c86133ae452b3728bb53a973568 | |
parent | Rearrange front matter. (diff) | |
download | pms-6f049fdf1b718d0c65f006e3cc9254ac55bc91c4.tar.gz pms-6f049fdf1b718d0c65f006e3cc9254ac55bc91c4.tar.bz2 pms-6f049fdf1b718d0c65f006e3cc9254ac55bc91c4.zip |
Makefile: Fix sed regexp.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ pms.html: $(LATEXFILES) pms.bbl vc.tex 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/}' $@ + LC_ALL=C sed -i -e '/<span class="lotToc" > /{N;N;s/\( <a \nhref="[^"]\+">\)\([0-9A-Z.]\+\)[ \n]\+/\2\1/}' $@ @# remove redundant span elements LC_ALL=C sed -i -e ':x;/<span\(\s\+[^>]*\)\?$$/{N;bx;};:y;s/\(<span\s\+[^>]*>\)\([^<]*\)<\/span>\1/\1\2/;ty' $@ |