]> err.no Git - systemd/commitdiff
[PATCH] change release target in makefile.
authorgreg@kroah.com <greg@kroah.com>
Wed, 19 Nov 2003 05:35:44 +0000 (21:35 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:06:24 +0000 (21:06 -0700)
Makefile

index 01536f698693c5e28b41927c9b42f3d26a4a74bb..f39fe224614a4369ca7ba993299fb32c335db9fe 100644 (file)
--- 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)