diff options
author | greg@kroah.com <greg@kroah.com> | 2003-11-18 21:35:44 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:06:24 -0700 |
commit | 54e3a5d3ae475fadcac950d28bf69b8359212b9e (patch) | |
tree | b0898d798c21f189c64da4652f5595cc580870a6 /Makefile | |
parent | 5e6e29fd355c037c73e00fa1be4043dcf441c537 (diff) |
[PATCH] change release target in makefile.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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) |