Makefile
changeset 41 98a53c3282c3
parent 0 76005e62091d
child 45 4ac3bb01f0bc
equal deleted inserted replaced
40:432ab62b2537 41:98a53c3282c3
     8 update: homepage format.css gpl-2.0.txt
     8 update: homepage format.css gpl-2.0.txt
     9 	rsync -avC *.html *.yml2 format.css *.yhtml2 gpl-2.0.txt samples dragon:fdik.org/yml2/
     9 	rsync -avC *.html *.yml2 format.css *.yhtml2 gpl-2.0.txt samples dragon:fdik.org/yml2/
    10 
    10 
    11 update-all: update yml2c yml2.py pyPEG.py backend.py yml2proc
    11 update-all: update yml2c yml2.py pyPEG.py backend.py yml2proc
    12 	if test -z $(VERSION) ; then echo VERSION not set ; exit 1 ; fi
    12 	if test -z $(VERSION) ; then echo VERSION not set ; exit 1 ; fi
    13 	rsync -avC *.py yml2c Makefile yml2proc xml2yml.ysl2 standardlib.ysl2 samples dragon:fdik.org/yml2/
    13 	rsync -avC *.py yml2 yml2c Makefile yml2proc xml2yml.ysl2 standardlib.ysl2 samples dragon:fdik.org/yml2/
    14 	ssh dragon bash -c "cd ; cd fdik.org/; tar cvjf yml-$(VERSION).tar.bz2 yml2/{*.py,*.yml2,*.yhtml2,format.css,gpl-2.0.txt,yml2c,Makefile,yml2proc,xml2yml.ysl2,standardlib.ysl2,samples} ; rm yml2.tar.bz2 ; ln -s yml-$(VERSION).tar.bz2 yml2.tar.bz2"
    14 	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 
    15 
    16 %.html: %.en.yhtml2 heading.en.yhtml2 homepage.en.yhtml2
    16 %.html: %.en.yhtml2 heading.en.yhtml2 homepage.en.yhtml2
    17 	$(YML2C) $< -o $@
    17 	$(YML2C) $< -o $@
    18 
    18 
    19 clean:
    19 clean:
    20 	rm -f *.html *.pyc *.pyo
    20 	rm -f *.html *.pyc *.pyo */*.pyc */*.pyo