summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-07 19:03:52 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-07 19:03:52 +0100
commite7dd0b98770ee0c88c1ea976d9e9a6d3979782f7 (patch)
tree74e898f03a69b9d5e129af1df0b790e0058cbb7b /Makefile
parentac54d689b48a6f97ab592230d74ee6bd64fc1bd5 (diff)
Version 1.1; added remote-install.sh for "make upload"v1.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 294acaf..d7cbabb 100644
--- a/Makefile
+++ b/Makefile
@@ -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