diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-07 19:03:52 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-07 19:03:52 +0100 |
commit | e7dd0b98770ee0c88c1ea976d9e9a6d3979782f7 (patch) | |
tree | 74e898f03a69b9d5e129af1df0b790e0058cbb7b /Makefile | |
parent | ac54d689b48a6f97ab592230d74ee6bd64fc1bd5 (diff) |
Version 1.1; added remote-install.sh for "make upload"v1.1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -4,6 +4,7 @@ VERSION=$(shell dpkg-parsechangelog --show-field Version) DISTROS=base debian11 ubuntu2204 ubuntu2210 PROJECTNAME=libreichwein +TGZNAME=$(shell ls -t ../$(PROJECTNAME)-*.tar.xz | head -n1 | sed -e 's,^../,,') DESTDIR=/ @@ -70,6 +71,15 @@ $(DISTROS): deb-src sudo pbuilder build --basetgz /var/cache/pbuilder/$@.tgz --buildresult result/$@ ../libreichwein_$(VERSION).dsc -debsign result/$@/libreichwein_$(VERSION)_amd64.changes +debs: $(DISTROS) + +upload: + scp ../$(TGZNAME) antcom.de:/var/www/reichwein.it-download/ + scp -r result antcom.de: + scp -r remote-install.sh antcom.de: + ssh antcom.de ./remote-install.sh $(PROJECTNAME) $(VERSION) + ssh antcom.de rm -rf remote-install.sh result + test: $(MAKE) -C tests |