Am 29.09.2013 um 21:00 schrieb Vincent van Ravesteijn <v...@lyx.org>:

> This only cleans the .deps directories that won't be needed later on.
> ---
> 
> This fixes it for me. Any comments on this ?

This looks ok. 
Removing things outside the current directory isn't good, IMO.
I cannot imagine how a "rm -f" can fail, so the leading minus is not needed.

Stephan

> src/support/Makefile.am |    4 ++++
> src/tex2lyx/Makefile.am |    4 ++++
> 2 files changed, 8 insertions(+)
> 
> diff --git a/src/support/Makefile.am b/src/support/Makefile.am
> index 708d19d..e82761d 100644
> --- a/src/support/Makefile.am
> +++ b/src/support/Makefile.am
> @@ -30,6 +30,10 @@ liblyxsupport_a_DEPENDENCIES = $(MOCEDFILES)
> AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
> AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_INCLUDES)
> 
> +distclean: distclean-am
> +     -rm -rf ./$(DEPDIR) linkback/$(DEPDIR) mythes/$(DEPDIR)
> +     -rm -f Makefile
> +
> liblyxsupport_a_SOURCES = \
>       FileMonitor.h \
>       FileMonitor.cpp \
> diff --git a/src/tex2lyx/Makefile.am b/src/tex2lyx/Makefile.am
> index 0aa887e..4388054 100644
> --- a/src/tex2lyx/Makefile.am
> +++ b/src/tex2lyx/Makefile.am
> @@ -66,6 +66,10 @@ alltests-recursive: tex2lyx
> updatetests: tex2lyx
>       $(PYTHON) "$(srcdir)/test/runtests.py" ./tex2lyx 
> "$(top_srcdir)/lib/scripts" "$(srcdir)/test"
> 
> +distclean: distclean-am
> +     -rm -rf ./$(DEPDIR)
> +     -rm -f Makefile
> +
> LINKED_FILES = \
>       ../Author.cpp \
>       ../Color.cpp \
> -- 
> 1.7.9.5
> 

Reply via email to