summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-08 12:16:15 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-08 12:16:15 +0100
commit7b3fe2cc608928df3b885168a0676a771f7bc7be (patch)
tree9becf7a1061ce0e13927d6af168b554a1940bad6 /Makefile
parent63fc8e14be5e450df8ccc18fe76e02c5f0827660 (diff)
Version 1.17; fix build and upload for distributionsv1.17
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c9b0d66..862fa51 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ VERSION=$(shell dpkg-parsechangelog --show-field Version)
DISTROS=base debian11 ubuntu2204 ubuntu2210
PROJECTNAME=webserver
-TGZNAME=$(shell ls -t ../webserver-*.tar.xz | head -n1 | sed -e 's,^../,,')
+TGZNAME=$(shell ls -t ../$(PROJECTNAME)-*.tar.xz | head -n1 | sed -e 's,^../,,')
PLUGINS= \
cgi \
fcgi \
@@ -106,9 +106,9 @@ debs: $(DISTROS)
upload:
scp ../$(TGZNAME) antcom.de:/var/www/reichwein.it-download/
scp -r result antcom.de:
- scp -r install-webserver.sh antcom.de:
- ssh antcom.de ./install-webserver.sh $(VERSION)
- ssh antcom.de rm -rf install-webserver.sh result
+ scp -r remote-install.sh antcom.de:
+ ssh antcom.de ./remote-install.sh $(PROJECTNAME) $(VERSION)
+ ssh antcom.de rm -rf remote-install.sh result
clean:
-rm -f $(PROJECTNAME)