jw-pkg/make/upload-rules.mk

17 lines
347 B
Makefile
Raw Normal View History

all:
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