16 lines
231 B
Makefile
16 lines
231 B
Makefile
|
|
||
|
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)
|