-
Erwan Jahier authored
+ more work on the release dir.
Erwan Jahier authored+ more work on the release dir.
Makefile 900 B
RELNAME_PREFIX=lv6-alpha-
RELNAME=$(RELNAME_PREFIX)$(shell date +%d-%m-%y)-$(shell uname)
LUS2LICDIR=~/lus2lic
LIC2CDIR=~/lic2loc
all: dir doc lus2lic lic2c 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
cp ~/slides/lv6/*.pdf $(RELNAME)/doc
lus2lic:
cp $(LUS2LICDIR)/src/lus2lic $(RELNAME)/bin/
lic2c:
cp $(LIC2CDIR)/src/lic2c $(RELNAME)/bin/
test_files:
for f in $(shell find $(LUS2LICDIR)/src/test/should_work -name \*.lus); do \
$(RELNAME)/bin/lus2lic $$f -o /tmp/xx.lus && \
$(RELNAME)/bin/lic2c --out-format loc /tmp/xx.lus > /dev/null && \
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)*-*