diff --git a/release-lv6/Makefile b/release-lv6/Makefile index d961e4cca7837f01c5d3ef23d213be37be70dd27..48b35a335d82b9904bdc33abdb868d9fcdf1406f 100644 --- a/release-lv6/Makefile +++ b/release-lv6/Makefile @@ -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)