git clean before dist, and add some ignore files

This commit is contained in:
Roy Marples 2007-11-27 16:13:42 +00:00
parent 49edf58fc1
commit f6033cfb26
3 changed files with 12 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.bz2

View File

@ -24,7 +24,7 @@ clean::
dist:
$(INSTALL) -d /tmp/$(PKG)
cp -RPp . /tmp/$(PKG)
(cd /tmp/$(PKG); $(MAKE) clean)
(cd /tmp/$(PKG); git clean; $(MAKE) clean)
rm -rf /tmp/$(PKG)/*.bz2 /tmp/$(PKG)/.git /tmp/$(PKG)/test
tar cvjpf $(PKG).tar.bz2 -C /tmp $(PKG)
rm -rf /tmp/$(PKG)

10
src/.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
.depend
rc
*.[oa]
*.so
*.so.*
version.h
# Experimental stuff
rc-daemon.c
rc-daemon.h