Skip to content
Snippets Groups Projects
Commit dadd8597 authored by Erwan Jahier's avatar Erwan Jahier
Browse files

Makefile enhancements.

parent ca5c2e5b
No related branches found
No related tags found
No related merge requests found
...@@ -7,10 +7,10 @@ LUS2LIC=$(LUS2LICDIR)/src/lus2lic ...@@ -7,10 +7,10 @@ LUS2LIC=$(LUS2LICDIR)/src/lus2lic
VERSION=R0.$(shell $(LUS2LIC) -version | cut -d "." -f 2) VERSION=R0.$(shell $(LUS2LIC) -version | cut -d "." -f 2)
RELNAME_PREFIX=lv6-alpha-$(VERSION) 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: dir:
rm -rf $(RELNAME) || true rm -rf $(RELNAME) || true
...@@ -46,9 +46,12 @@ www: $(RELNAME).tgz ...@@ -46,9 +46,12 @@ www: $(RELNAME).tgz
verimag: verimag:
cp $(RELNAME).tgz /usr/local/tools/lustre-v6 cp $(RELNAME).tgz /usr/local/tools/lustre-v6
cd /usr/local/tools/lustre-v6 cd /usr/local/tools/lustre-v6 ; tar xvfz $(RELNAME).tgz
tar xvfz $(RELNAME).tgz rm /usr/local/tools/lustre-v6/current
echo "Changer le lien symbolique /usr/local/tools/lustre-v6/current ?" ln -s /usr/local/tools/lustre-v6/$(RELNAME) /usr/local/tools/lustre-v6/current
clean: clean:
rm -rf $(RELNAME_PREFIX)*-* rm -rf $(RELNAME_PREFIX)*-*
\ No newline at end of file
all: release
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment