diff --git a/release-lv6/Makefile b/release-lv6/Makefile index a30a0391011fc73da5273e81d036094de6f88c10..615bafe95309ee40f7d4e9ef33e77030700001c9 100644 --- a/release-lv6/Makefile +++ b/release-lv6/Makefile @@ -7,10 +7,10 @@ LUS2LIC=$(LUS2LICDIR)/src/lus2lic VERSION=R0.$(shell $(LUS2LIC) -version | cut -d "." -f 2) RELNAME_PREFIX=lv6-alpha-$(VERSION) -RELNAME=$(RELNAME_PREFIX)$(shell date +%d-%m-%y)-$(shell uname) +RELNAME=$(RELNAME_PREFIX)-$(shell date +%d-%m-%y)-$(shell uname) -all: dir doc lus2lic test_files +release: dir doc lus2lic test_files dir: rm -rf $(RELNAME) || true @@ -46,9 +46,12 @@ www: $(RELNAME).tgz verimag: cp $(RELNAME).tgz /usr/local/tools/lustre-v6 - cd /usr/local/tools/lustre-v6 - tar xvfz $(RELNAME).tgz - echo "Changer le lien symbolique /usr/local/tools/lustre-v6/current ?" + cd /usr/local/tools/lustre-v6 ; tar xvfz $(RELNAME).tgz + rm /usr/local/tools/lustre-v6/current + ln -s /usr/local/tools/lustre-v6/$(RELNAME) /usr/local/tools/lustre-v6/current + clean: - rm -rf $(RELNAME_PREFIX)*-* \ No newline at end of file + rm -rf $(RELNAME_PREFIX)*-* + +all: release \ No newline at end of file