Makefile: remove docs/*.tmp files after running sed command there

This commit is contained in:
Aliaksandr Valialkin 2022-10-06 15:24:56 +03:00
parent 9acf1845f4
commit ecd2f7451b
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -403,6 +403,7 @@ copy-docs:
fi fi
cat ${SRC} >> ${DST} cat ${SRC} >> ${DST}
sed -i='.tmp' 's/<img src=\"docs\//<img src=\"/' ${DST} sed -i='.tmp' 's/<img src=\"docs\//<img src=\"/' ${DST}
rm -rf docs/*.tmp
# Copies docs for all components and adds the order tag. # Copies docs for all components and adds the order tag.
# For ORDER=0 it adds no order tag. # For ORDER=0 it adds no order tag.