Makefile
changeset 77 5b23278ed81f
parent 49 6e781b10c5a4
equal deleted inserted replaced
76:8ee36a9655d7 77:5b23278ed81f
     5 all: homepage
     5 all: homepage
     6 
     6 
     7 homepage: index.html features.html yslt.html toolchain.html programming.html hello.html
     7 homepage: index.html features.html yslt.html toolchain.html programming.html hello.html
     8 
     8 
     9 update: homepage format.css gpl-2.0.txt
     9 update: homepage format.css gpl-2.0.txt
    10 	rsync -avC *.html *.yml2 format.css *.yhtml2 gpl-2.0.txt samples dragon:fdik.org/yml2/
    10 	rsync -avC *.html format.css *.yhtml2 gpl-2.0.txt samples dragon:fdik.org/yml2/
    11 
    11 
    12 update-all: update yml2c yml2.py pyPEG.py backend.py yml2proc
    12 update-all: update yml2c yml2.py pyPEG.py backend.py yml2proc
    13 	if test -z $(VERSION) ; then echo VERSION not set ; exit 1 ; fi
    13 	if test -z $(VERSION) ; then echo VERSION not set ; exit 1 ; fi
    14 	rsync -avC *.py yml2 yml2c Makefile yml2proc xml2yml.ysl2 standardlib.ysl2 samples dragon:fdik.org/yml2/
    14 	rsync -avC *.py yml2 yml2c Makefile yml2proc xml2yml.ysl2 standardlib.ysl2 samples dragon:fdik.org/yml2/
    15 	ssh dragon bash -c "cd ; cd fdik.org/; tar cvjf yml-$(VERSION).tar.bz2 yml2/{*.py,*.yml2,*.yhtml2,format.css,gpl-2.0.txt,yml2,yml2c,Makefile,yml2proc,xml2yml.ysl2,standardlib.ysl2,samples} ; rm yml2.tar.bz2 ; ln -s yml-$(VERSION).tar.bz2 yml2.tar.bz2"
    15 	ssh dragon bash -c "cd ; cd fdik.org/; tar cvjf yml-$(VERSION).tar.bz2 yml2/{*.py,*.yml2,*.yhtml2,format.css,gpl-2.0.txt,yml2,yml2c,Makefile,yml2proc,xml2yml.ysl2,standardlib.ysl2,samples} ; rm yml2.tar.bz2 ; ln -s yml-$(VERSION).tar.bz2 yml2.tar.bz2"