mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
[PATCH] change release target in makefile.
This commit is contained in:
parent
5e6e29fd35
commit
54e3a5d3ae
14
Makefile
14
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)
|
||||
|
Loading…
Reference in New Issue
Block a user