bin, make, scripts: Re-add files necessary for packaging jw-build

Re-add all files necessary to package jw-build itself, i.e.
sucessfully run make pkg-rebuild-reinstall. This adds 1892 lines of
code.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-11-14 11:22:50 +01:00
commit 82eb80979d
11 changed files with 1881 additions and 0 deletions

17
make/upload-rules.mk Normal file
View file

@ -0,0 +1,17 @@
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