Makefile: GENDOC_INNER: don't create subdirs for generated manuals
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 7 Feb 2012 09:49:40 +0000 (10:49 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 7 Feb 2012 09:52:35 +0000 (10:52 +0100)
The output files are generated directly in $(O)/docs/manual.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile

index 912012fa4f1b166dc6ac149ee532a512ef447999..7aeee962f83ebc5150ead74f502b8d5210ad7676 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -719,7 +719,7 @@ $(1)-$(3): $$(O)/docs/$(1)/$(1).$(4)
 
 $$(O)/docs/$(1)/$(1).$(4): docs/$(1)/$(1).txt $$($(call UPPERCASE,$(1))_SOURCES)
        @echo "Generating $(5) $(1)..."
-       $(Q)mkdir -p $$(O)/docs/$(1)/$(2)
+       $(Q)mkdir -p $$(@D)
        $(Q)a2x $(6) -f $(2) -d book -L -r $(TOPDIR)/docs/images \
          -D $$(@D) $$<
 endef