]> err.no Git - systemd/commitdiff
[PATCH] fix up 'make release' to use bk to build the export tree.
authorgreg@kroah.com <greg@kroah.com>
Thu, 12 Feb 2004 07:23:17 +0000 (23:23 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:32:26 +0000 (21:32 -0700)
Makefile

index d2cec3ac8a9a619f361a91cd79ca479eb4cea67d..f53e7ca2fdc1f6b52681366670686c27c5cca80d 100644 (file)
--- 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