diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-10-26 07:52:03 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-10-26 07:52:03 +0200 |
commit | 67a7d7b7d37c5cbedce75da2de314bdf81f4feb1 (patch) | |
tree | 3e188301298f9ce847bbd11ea2f54ddca79d3ef7 | |
parent | 6fe0b202a21d5d0899e691df3feab0686b6cfab9 (diff) | |
download | buildroot-novena-67a7d7b7d37c5cbedce75da2de314bdf81f4feb1.tar.gz buildroot-novena-67a7d7b7d37c5cbedce75da2de314bdf81f4feb1.zip |
Makefile: build all manuals in $(O)/docs/manual
Like Arnouts' patch originally did.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -716,19 +716,13 @@ release: define GENDOC_INNER $(1): $(1)-$(3) .PHONY: $(1)-$(3) -$(1)-$(3): $$(O)/docs/$(1)/$(2)/$(1).$(4) +$(1)-$(3): $$(O)/docs/$(1)/$(1).$(4) -$$(O)/docs/$(1)/$(2)/$(1).$(4): docs/$(1)/$(1).txt $$($(call UPPERCASE,$(1))_SOURCES) +$$(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)a2x $(6) -f $(2) -d book -L -r $(TOPDIR)/docs/images \ -D $$(@D) $$< - -clean-$(1): clean-$(1)-$(3) -.PHONY: clean-$(1)-$(3) -clean-$(1)-$(3): - $(Q)$(RM) -rf $(O)/docs/$(1)/$(2) - endef ################################################################################ @@ -746,6 +740,8 @@ $(call GENDOC_INNER,$(1),pdf,pdf,pdf,PDF,--dblatex-opts "-P latex.output.revhist $(call GENDOC_INNER,$(1),text,txt,text,Text) $(call GENDOC_INNER,$(1),epub,epub,epub,EPUB) clean: clean-$(1) +clean-$(1): + $(Q)$(RM) -rf $(O)/docs/$(1) .PHONY: $(1) clean-$(1) endef |