forked from weewx/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
29 lines (22 loc) · 1.11 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# -* makefile -*-
# this makefile contains rules for the weewx.com website
DST=weewx.com:/
help:
@echo "options include:"
@echo " upload"
@echo " upload-highslide"
@echo " upload-register"
@echo " upload-wfixer"
@echo ""
@echo "for example:"
@echo "make upload USER=johndoe"
upload:
ftp -u $(USER)@$(DST) code.html docs.html dot.png hardware.html hwcmp.html index.html keys.html showcase.html support.html weewx-logo-128x128.png infobox.js close.gif tipbox90pad.gif weewx.css weewx.js keys/*.key screenshots/*.png hardware/*.png cfg/*.png
upload-highslide:
ftp -u $(USER)@$(DST) highslide/*.js highslide/*.css highslide/graphics/*.png highslide/graphics/*.gif highslide/graphics/*.cur highslide/graphics/outlines/*.png highslide/graphics/outlines/*.psd
upload-apaxy:
ftp -u $(USER)@$(DST) theme/*.html theme/*.css theme/icons/* downloads/.htaccess
upload-register:
ftp -u $(USER)@$(DST) register/allkeys.txt register/archivelog.pl register/mkstations.pl register/register.cgi register/savecounts.pl register/stations.html.in
upload-wfixer:
ftp -u $(USER)@$(DST) wunderfixer/README.txt wunderfixer/default.htm