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

Fix problems in release/Makefile

parent f64805fd
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ rel:release
xxx:
echo "RELNAME_PREFIX='$(RELNAME_PREFIX)'"
echo "RELNAME='$(RELNAME)'"
.PHONY: $(RELNAME)
......@@ -36,6 +37,7 @@ doc:
cp ~/slides/lv6/*.pdf $(RELNAME)/doc
cp $(LUS2LICDIR)/utils/lustre.el $(RELNAME)/utils
.PHONY:lus2lic
lus2lic:
cd $(LUS2LICDIR)/ ; make nc
cp $(LUS2LIC) $(RELNAME)/bin/
......@@ -55,6 +57,9 @@ test_files:
cp -rf $(LUS2LICDIR)/test/Makefile.dist $(RELNAME)/test/Makefile
cp -rf $(LUS2LICDIR)/test/site.exp $(RELNAME)/test/
cp -rf $(LUS2LICDIR)/test/config $(RELNAME)/test/
cp -rf $(LUS2LICDIR)/test/myec2c $(RELNAME)/test/
cp -rf $(shell which lurettetop) $(RELNAME)/test/
cp -rf $(LUS2LICDIR)/utils/test_lus2lic_no_node $(RELNAME)/utils
rm -f $(RELNAME)/test/*/normal.lus
rm -f $(RELNAME)/test/*/*/normal.lus
rm -f $(RELNAME)/test/*/ELMU.lus
......@@ -67,10 +72,7 @@ test_files:
rm -f $(RELNAME)/test/*/*/car*.lus
rm -f $(RELNAME)/test/*/Gyro*.lus
rm -f $(RELNAME)/test/*/*/Gyro*.lus
for f in $(shell find $(LUS2LICDIR)/src/test/should_work -name \*.lus); do \
for f in $(shell find $(LUS2LICDIR)/test/should_work -name \*.lus); do \
($(RELNAME)/bin/lus2lic $$f -o /tmp/xx.lus || (echo "*** lus2lic $$f failed" ; exit 1)) && \
echo "cp $$f $(RELNAME)/test/" && \
cp $$f $(RELNAME)/test/; \
......@@ -79,6 +81,7 @@ test_files:
# ($(RELNAME)/bin/lic2c --out-format loc /tmp/xx.lus > /dev/null || (echo "*** lic2c $$f failed" ; exit 1)) &&
.PHONY:$(RELNAME).tgz
$(RELNAME).tgz:
tar cvfz $(RELNAME).tgz $(RELNAME)
......
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