[shotwell] build: Don't distribute C files



commit db02aaf77cf1538e81f4f0ca168517d8eb7e2585
Author: Jens Georg <mail jensge org>
Date:   Sun Jul 3 19:05:10 2016 +0200

    build: Don't distribute C files
    
    Signed-off-by: Jens Georg <mail jensge org>

 Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d62dcc9..6c760c1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,9 +15,10 @@ AUTHORS:
                     echo Failed to generate $@ >&2 ); \
        else touch $@; fi
 
-# Generate the ChangeLog.
+# Generate the ChangeLog and clean the dist tarball
 @GENERATE_CHANGELOG_RULES@
 dist-hook: dist-ChangeLog
+       find $(distdir) -name "*.c" -o -name "shotwell*.h" -o -name "shotwell*.vapi" -o -name "*vala.stamp" 
-exec rm {} \;
 
 GITIGNOREFILES = \
        **/*.swp \


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