From 70ffb2a0c2df9b654caf1e4d17bd2d47a25c4b9a Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Tue, 20 Dec 2011 21:03:31 +0100 Subject: [PATCH] Makefile: do not package files located in .git (make dist) Signed-off-by: Davide Madrisan --- ChangeLog | 5 ++++- Makefile | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ce0f7ae..3c4c70f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,5 @@ Changes in version 1.8.1 - Christmas Release -Sun Dec 18 2011 Davide Madrisan +Tue Dec 20 2011 Davide Madrisan + update * libapse - Silvan Calarco: @@ -48,6 +48,9 @@ Sun Dec 18 2011 Davide Madrisan Support library packages with a name not starting by 'lib'. (Feature asked by Silvan Calarco) ++ update + * Makefile: do no package file located in the .git directory (make dist). + -------------------------------------------------------------------------------- Changes in version 1.8.0 diff --git a/Makefile b/Makefile index dfbe6a0..cbc5b9e 100644 --- a/Makefile +++ b/Makefile @@ -163,7 +163,8 @@ dist: clean @rm -f history/$(dist_archive) @echo "Creating the compressed tarball..." @$(INSTALL_DIR) history - tar cf - --exclude=history -C .. $(distdir) |\ + tar cf - --exclude=history --exclude=.git \ + -C .. $(distdir) |\ bzip2 -9 -c > history/$(dist_archive) dist-rpm: dist $(PACKAGE).spec