[gnome-multi-writer] Revert "build: Don't remove NEWS and ChangeLog on distclean"



commit f83b43f6c29bcf2650c23e7dc62a0a16cded302d
Author: Richard Hughes <richard hughsie com>
Date:   Tue Sep 13 09:54:34 2016 +0100

    Revert "build: Don't remove NEWS and ChangeLog on distclean"
    
    This reverts commit cb5f4e3f4263690ab5fdeb69d1858faa55deb0e2 as it breaks
    'make distcheck'

 Makefile.am |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 43f6946..041377b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -37,6 +37,12 @@ MAINTAINERCLEANFILES =                                       \
        $(srcdir)/gnome-multi-writer-*.tar.*            \
        `find "$(srcdir)" -type f -name Makefile.in -print`
 
+distclean-local:
+       if test $(srdcir) = .; then :; else \
+               rm -f ChangeLog; \
+               rm -f NEWS; \
+       fi
+
 ChangeLog:
        @echo Creating $@
        @if test -d "$(srcdir)/.git"; then \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]