template/Makefile

26 lines
380 B
Makefile
Raw Normal View History

2017-03-12 13:23:57 +00:00
2017-07-16 14:59:00 +00:00
# UPDATE_PATH=/srv/slt-update
PACKAGES = slt.tar.gz
2017-03-12 13:23:57 +00:00
2017-07-16 14:59:00 +00:00
all: package
2017-03-12 13:23:57 +00:00
package: $(PACKAGES)
2017-07-16 14:59:00 +00:00
.PHONY: slt.tar.gz
slt.tar.gz:
cd slt ; tar czf ../$@ *
2017-03-12 13:23:57 +00:00
2017-07-16 14:59:00 +00:00
.PHONY: release
release:
./scripts/create-release.sh
.PHONY: upload
upload:
./scripts/create-update-xml.sh
# rsync -a releases/ $UPDATE_PATH/rel
#
# .PHONY: update
# update: $(PACKAGES)
# cp slt.xml slt1.tar.gz $(UPDATE_PATH)