template/Makefile

16 lines
231 B
Makefile
Raw Normal View History

2017-03-12 13:23:57 +00:00
UPDATE_PATH=/srv/slt-update
PACKAGES = slt1.tar.gz
all: package update
package: $(PACKAGES)
.PHONY: slt1.tar.gz
slt1.tar.gz:
cd slt1 ; tar czf ../$@ *
.PHONY: update
update: $(PACKAGES)
cp slt.xml slt1.tar.gz $(UPDATE_PATH)