#----------------------------------------------------------------------
#  Makefile, Copyright Raditex Control AB, Göran Hasse gorhas@raditex.nu
#
#----------------------------------------------------------------------


highlight:
	source-highlight -n --input=framework-lists.php --output=src/raditex-lists.php.html
	source-highlight -n --input=framework-library-utils.js --output=src/raditex-utils.js.html
	source-highlight -n --input=raditex-priv.css --output=src/raditex-standard.css.html
	source-highlight -n --input=raditex-library.php --output=src/raditex-library.php.html
	source-highlight -n --input=raditex-template.php --output=src/raditex-template.php.html
	source-highlight -n --input=list-template.php --output=src/list-template.php.html
	source-highlight -n --input=get-stove-temp.php --output=src/get-stove-temp.php.html
	source-highlight -n --input=libs/graph-simple.js --output=src/graph-simple.js.html
	source-highlight -n --input=storage-info-update.php --output=src/storage-info-update.php.html
	source-highlight -n --input=storage-load-svg.js --output=src/storage-load-svg.js.html

tarfile:
	tar --exclude="*.tgz" -c -v -z -f framework.tgz .

install:
	rsync -avz . www.raditex.nu:public_html/framework
	rsync -avz . www.raditex.nu:/var/www/framework

