summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2009-09-16 09:13:19 +0200
committerJiri Olsa <jolsa@redhat.com>2009-09-16 09:13:19 +0200
commit4d2e3feb1ad7adac6c872af45dd4100600898000 (patch)
tree4eb6d0191936cc58a337cfbf27edea3da3a4f949 /Makefile
parentc21e1eb86a31cf74feddfd05115bb6a7249fd2c5 (diff)
downloadlatrace-4d2e3feb1ad7adac6c872af45dd4100600898000.tar.gz
latrace-4d2e3feb1ad7adac6c872af45dd4100600898000.tar.xz
latrace-4d2e3feb1ad7adac6c872af45dd4100600898000.zip
minor changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index c2b20f6..e1e713a 100644
--- a/Makefile
+++ b/Makefile
@@ -164,13 +164,8 @@ clean::
$(call remove, src/args-bison.c src/args-flex.c src/args-bison.h src/args-bison.output)
$(call remove, lib bin share deps.make latrace-$(LT_VER))
-mrproper::
- @for i in `find . -type f -o -type d -o -type l | cut -c 3- | grep -v svn`; do \
- svn info $$i > /dev/null 2>&1; \
- if [ x"$$?" != x"0" ]; then \
- echo " CLEAN $$i"; rm -rf $$i; \
- fi; \
- done
+mrproper::
+ git clean -xdf
snapshot:
@$(MAKE) $(PRINT_DIR) package PKG_VER=$(LT_VER)-`date "+%m%d%Y"`
@@ -181,8 +176,8 @@ release:
package:
$(QUIET_PKG)rm -f latrace-$(PKG_VER); ln -s . latrace-$(PKG_VER); \
echo "latrace-$(PKG_VER)"; \
- for i in `find . -type f | cut -c 3- | grep -v svn`; do \
- svn info $$i > /dev/null 2>&1; \
+ for i in `find . -type f | cut -c 3- | grep -v git`; do \
+ git checkout $$i > /dev/null 2>&1; \
if [ x"$$?" == x"0" ]; then \
echo "latrace-$(PKG_VER)/$$i"; \
fi; \