mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
21 lines
561 B
Makefile
21 lines
561 B
Makefile
rsync_ssh\://% ftp\://% scp\://%:
|
|
make $(shell echo $(addprefix $(DIST_PCKG_DIR)/,$(notdir $@)) | $(SED) 's/:.*//g')
|
|
$(UPLOAD_SH) $(shell echo $(addprefix $(DIST_PCKG_DIR)/,$(notdir $@)) $@ | $(SED) 's/:.*//g') $@
|
|
|
|
upload.dist:
|
|
if [ -f configure -o -f configure.ac -o -f configure.ac.tmpl ]; then make config; fi
|
|
make $(REMOTE_TARGETS)
|
|
touch $@.done
|
|
|
|
yupdate.%.dist:
|
|
sudo -u root $(HOME)/bin/yupdate.sh -f $(HOME)/.yupdaterc -s $*
|
|
touch $@
|
|
|
|
CURRENT_%:
|
|
echo $($(notdir $@)) > $@
|
|
|
|
clean: upload.clean
|
|
|
|
upload.clean:
|
|
$(RM) -f upload.dist yupdate.*.dist
|
|
|