From 78f9d82b7add9f573462d6c0eb1ad0b8f0e2b9ab Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 17 Apr 2015 15:33:05 +0000 Subject: Fix moving the html images when destination already contains a built manual. Closes: #782765. --- build/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build') diff --git a/build/Makefile b/build/Makefile index 5668cf151..fd06b6c80 100644 --- a/build/Makefile +++ b/build/Makefile @@ -27,6 +27,9 @@ $(TARGETS): %: mkdir -p "$$arch_destination/$$destsuffix" ; \ for format in $$formats; do \ if [ "$$format" = html ]; then \ + mkdir -p "$$arch_destination/$$destsuffix/images" ; \ + mv ./$$destdir/html/images/* "$$arch_destination/$$destsuffix/images" ; \ + rmdir ./$$destdir/html/images ; \ mv ./$$destdir/html/* "$$arch_destination/$$destsuffix" ; \ else \ # Do not fail because of missing PDF support for some languages \ -- cgit v1.2.3