summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-18 21:35:44 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:06:24 -0700
commit54e3a5d3ae475fadcac950d28bf69b8359212b9e (patch)
treeb0898d798c21f189c64da4652f5595cc580870a6
parent5e6e29fd355c037c73e00fa1be4043dcf441c537 (diff)
[PATCH] change release target in makefile.
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 01536f6986..f39fe22461 100644
--- a/Makefile
+++ b/Makefile
@@ -178,7 +178,19 @@ clean:
DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v CVS | grep -v "\.tar\.gz" | grep -v "\/\." | grep -v releases | grep -v BitKeeper | grep -v SCCS | grep -v "\.tdb" | grep -v "test\/sys" | sort )
DISTDIR := $(RELEASE_NAME)
srcdir = .
-release: $(DISTFILES) clean
+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------------------------"
+
+
+small_release: $(DISTFILES) clean
# @echo $(DISTFILES)
@-rm -rf $(DISTDIR)
@mkdir $(DISTDIR)