mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-21 21:57:38 +01:00
make: Add files
This commit is contained in:
parent
53e919458f
commit
3378b30a50
4 changed files with 60 additions and 0 deletions
16
make/upload-rules.mk
Normal file
16
make/upload-rules.mk
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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 $($@) > $@
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue