aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-27 16:13:42 +0000
committerRoy Marples <roy@marples.name>2007-11-27 16:13:42 +0000
commitf6033cfb26825322345a9dd6bbd03fb22e0424d5 (patch)
treea3822cce2226022abf2498881249a861771211d1
parent49edf58fc15c8d8aeccffe1dd4b579a5b44dcaeb (diff)
git clean before dist, and add some ignore files
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
-rw-r--r--src/.gitignore10
3 files changed, 12 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..192fb094
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.bz2
diff --git a/Makefile b/Makefile
index 1ba393a3..12a01bae 100644
--- a/Makefile
+++ b/Makefile
@@ -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)
diff --git a/src/.gitignore b/src/.gitignore
new file mode 100644
index 00000000..cbf79a24
--- /dev/null
+++ b/src/.gitignore
@@ -0,0 +1,10 @@
+.depend
+rc
+*.[oa]
+*.so
+*.so.*
+version.h
+
+# Experimental stuff
+rc-daemon.c
+rc-daemon.h