summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-02-11 23:23:17 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:26 -0700
commite9b2679f420b77f1ea49fc3cd8a746072fe66854 (patch)
treece4e2eff1f648efee9eb82afa10078e14d652342 /Makefile
parent0028653cdff8e3a7f3577509ce89f8bb15efa01e (diff)
[PATCH] fix up 'make release' to use bk to build the export tree.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index d2cec3ac8a..f53e7ca2fd 100644
--- a/Makefile
+++ b/Makefile
@@ -283,15 +283,13 @@ DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v -e CVS -e "\.ta
DISTDIR := $(RELEASE_NAME)
srcdir = .
release: clean
- @echo "--------------------------cut here------------------------"
- @echo "cd .."
- @echo "rm -rf $(DISTDIR)"
- @echo "mkdir $(DISTDIR)"
- @echo "chmod 777 $(DISTDIR)"
- @echo "cp -avr udev/* $(DISTDIR)"
- @echo "tar -c $(DISTDIR) | gzip -9 > $(RELEASE_NAME).tar.gz"
- @echo "rm -rf $(DISTDIR)"
- @echo "--------------------------cut here------------------------"
+ -rm -rf $(DISTDIR)
+ mkdir $(DISTDIR)
+ chmod 777 $(DISTDIR)
+ bk export $(DISTDIR)
+ tar -c $(DISTDIR) | gzip -9 > $(RELEASE_NAME).tar.gz
+ rm -rf $(DISTDIR)
+ @echo "$(RELEASE_NAME).tar.gz created"
small_release: $(DISTFILES) clean