Makefile: do not package files located in .git (make dist)

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2011-12-20 21:03:31 +01:00
parent 8dc143cb1c
commit 70ffb2a0c2
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Changes in version 1.8.1 - Christmas Release
Sun Dec 18 2011 Davide Madrisan <davide.madrisan(a)gmail.com>
Tue Dec 20 2011 Davide Madrisan <davide.madrisan(a)gmail.com>
+ update
* libapse - Silvan Calarco:
@ -48,6 +48,9 @@ Sun Dec 18 2011 Davide Madrisan <davide.madrisan(a)gmail.com>
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

View File

@ -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