make: Add files

This commit is contained in:
Jan Lindemann 2005-10-17 11:24:44 +00:00 committed by Jan Lindemann
commit 3378b30a50
4 changed files with 60 additions and 0 deletions

16
make/upload-rules.mk Normal file
View 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 $($@) > $@