summaryrefslogblamecommitdiffstats
path: root/Makefile
blob: ee03b7f0540f3eb3dde9f4be8f6362ddacfae857 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                              
                                                                       

                                                                          
 
                                     
 
          
                                            

                 
                                                                                   


               
                                               
BABEL=node node_modules/babel-cli/bin/babel.js
FILES=zalmy.js zalmy.js.map style index*.html zalmy.webapp sworker.js \
      require.js config.js config.js.map activePage.js activePage.js.map \
      favicon.ico

all: config.js activePage.js zalmy.js

%.js: %.es
	$(BABEL) --source-maps true -o $@ $<

install: $(FILES)
	rsync -avz --delete $(FILES) ~/Dokumenty/website/hubmaier/zalmy.ceplovi.cz/
	websync

clean:
	rm -fv {zalmy,activePage,config}.js* *~