summaryrefslogtreecommitdiffstats
path: root/manual/Makefile.pdflatex
diff options
context:
space:
mode:
Diffstat (limited to 'manual/Makefile.pdflatex')
-rw-r--r--manual/Makefile.pdflatex2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/Makefile.pdflatex b/manual/Makefile.pdflatex
index 9ea633a71f..2e132211e0 100644
--- a/manual/Makefile.pdflatex
+++ b/manual/Makefile.pdflatex
@@ -20,7 +20,7 @@ buildhtml: rockbox-build.tex
$(HTLATEX) $(DOCUMENT) "$(HTOPTS1),2" $(HTOPTS2) $(HTOPTS3); \
fi)
- @cp --parent `cat $(OBJDIR)/html/*.html | sed -e '/png/!d;s/.*\"\(.*\.png\)\".*/\1/g'` $(OBJDIR)/html
+ @cp --parent `cat $(OBJDIR)/html/*.html | sed -e '/[pj][np]g/!d;s/.*\"\(.*\.[pj][np]g\)\".*/\1/g;/</d'` $(OBJDIR)/html
@cp -r $(OBJDIR)/html $(OBJDIR)/../
htmlzip: buildhtml