[ARCH] Makefile: Name pdf correctly

Message ID 1405608524-1175-1-git-send-email-anders.roxell@linaro.org
State New
Headers show

Commit Message

Anders Roxell July 17, 2014, 2:48 p.m.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Mike Holmes July 17, 2014, 3:57 p.m. | #1
Tested-by: Mike Holmes <mike.holmes@linaro.org>

This solved an issue where "make pdf" with the redirect apparently hangs
whereas in fact latex is waiting for a response to a problem it has found.
Now that the pdf is not part of the all target there is no need to hide the
output.



On 17 July 2014 10:48, Anders Roxell <anders.roxell@linaro.org> wrote:

> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>  Makefile | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index c33f6cf..bd530ea 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -34,4 +34,5 @@ docs_install: docs
>
>  .PHONY: pdf
>  pdf: docs
> -       make --directory doc/latex refman.pdf 1> /dev/null
> +       make --directory $(DOC_DIR)/latex refman.pdf
> +       mv $(DOC_DIR)/latex/refman.pdf
> $(DOC_DIR)/OpenDataPlane-Architecture.pdf
> --
> 1.9.1
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Anders Roxell July 20, 2014, 7:54 p.m. | #2
On 2014-07-17 11:57, Mike Holmes wrote:
> Tested-by: Mike Holmes <mike.holmes@linaro.org>
> 
> This solved an issue where "make pdf" with the redirect apparently hangs
> whereas in fact latex is waiting for a response to a problem it has found.
> Now that the pdf is not part of the all target there is no need to hide the
> output.
> 
> 
> 
> On 17 July 2014 10:48, Anders Roxell <anders.roxell@linaro.org> wrote:
> 
> > Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> > ---
> >  Makefile | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/Makefile b/Makefile
> > index c33f6cf..bd530ea 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -34,4 +34,5 @@ docs_install: docs
> >
> >  .PHONY: pdf
> >  pdf: docs
> > -       make --directory doc/latex refman.pdf 1> /dev/null
> > +       make --directory $(DOC_DIR)/latex refman.pdf
> > +       mv $(DOC_DIR)/latex/refman.pdf
> > $(DOC_DIR)/OpenDataPlane-Architecture.pdf
> > --
> > 1.9.1
> >
> >
> > _______________________________________________
> > lng-odp mailing list
> > lng-odp@lists.linaro.org
> > http://lists.linaro.org/mailman/listinfo/lng-odp
> >
> 
> 
> 
> -- 
> *Mike Holmes*
> Linaro Technical Manager / Lead
> LNG - ODP

Applied, thanks.

Patch

diff --git a/Makefile b/Makefile
index c33f6cf..bd530ea 100644
--- a/Makefile
+++ b/Makefile
@@ -34,4 +34,5 @@  docs_install: docs
 
 .PHONY: pdf
 pdf: docs
-	make --directory doc/latex refman.pdf 1> /dev/null
+	make --directory $(DOC_DIR)/latex refman.pdf
+	mv $(DOC_DIR)/latex/refman.pdf $(DOC_DIR)/OpenDataPlane-Architecture.pdf