mk: fix doxygen clean

RTE_OUTPUT variable is always defined, unlike $O.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
Bernard Iremonger 2014-10-15 18:51:10 +02:00 committed by Thomas Monjalon
parent d07982f4b1
commit 9960a51bff

View File

@ -64,5 +64,5 @@ htmlapi: htmlapi-clean
.PHONY: htmlapi-clean
htmlapi-clean:
$(Q)rm -f $O/doc/html/api/*
$(Q)rm -f $(RTE_OUTPUT)/doc/html/api/*
$(Q)rmdir -p --ignore-fail-on-non-empty $(RTE_OUTPUT)/doc/html/api 2>&- || true