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

Add a directory containing the necessary Makefiles to build a

lustre-v6 release.
parent d4e15b64
No related branches found
No related tags found
No related merge requests found
RELNAME_PREFIX=lv6-alpha-
RELNAME=$(RELNAME_PREFIX)$(shell date +%d-%m-%y)-$(shell uname)
LUS2LICDIR=~/lus2lic
LIC2LOCDIR=~/lic2loc
all: dir doc lus2lic lic2loc test_files
dir:
rm -rf $(RELNAME) && mkdir $(RELNAME)
cp -rf rel-skel/* $(RELNAME)/
doc:
cp $(LUS2LICDIR)/lv6-ref-man/lv6-ref-man.pdf $(RELNAME)/doc
lus2lic:
cp $(LUS2LICDIR)/src/lus2lic $(RELNAME)/bin/
lic2loc:
cp $(LIC2LOCDIR)/src/compiler $(RELNAME)/bin/lic2loc
test_files:
for f in $(shell find $(LUS2LICDIR)/src/test/should_work -name \*.lus); do \
$(RELNAME)/bin/lus2lic $$f -o /tmp/xx.lus && \
echo "cp $$f $(RELNAME)/test/" && \
cp $$f $(RELNAME)/test/; \
done
$(RELNAME).tgz:
tar cvfz $(RELNAME).tgz $(RELNAME)
www: $(RELNAME).tgz
cp $(RELNAME).tgz ~/SYNCHRONE/lustre-v6/
clean:
rm -rf $(RELNAME_PREFIX)*
\ No newline at end of file
Try to launch 'make' in the test directory
\ No newline at end of file
LICDIR=lic
test:
for f in $(shell ls *.lus); do \
echo "../bin/lus2lic $$f -o lic/$$f"; \
../bin/lus2lic $$f -o lic/$$f; \
done
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