summaryrefslogtreecommitdiff
path: root/compile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'compile/Makefile')
-rw-r--r--compile/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/compile/Makefile b/compile/Makefile
index 31a2883..3c505fd 100644
--- a/compile/Makefile
+++ b/compile/Makefile
@@ -1,3 +1,6 @@
+HOSTNAME = sumarit.nobis-crew.org
+WEBPATH = /var/www/softwares
+
all:
make -C win32 dist
make -C linux dist
@@ -10,11 +13,11 @@ clean:
rebuild: clean all
release: all
- -ssh sumarit rm /var/www/cd-tool/*
- -ssh sumarit rm /var/www/luapatch/*
- scp cd-tool*.zip sumarit:/var/www/cd-tool
- scp ../FAQ-cd.txt sumarit:/var/www/cd-tool/README.txt
- scp ../COPYING sumarit:/var/www/cd-tool
- scp *.lua sumarit:/var/www/cd-tool
- scp luapatch* sumarit:/var/www/luapatch
- scp ../README-LuaPatch.txt sumarit:/var/www/luapatch/README.txt
+ -ssh $(HOSTNAME) rm $(WEBPATH)/cd-tool/*
+ -ssh $(HOSTNAME) rm $(WEBPATH)/luapatch/*
+ scp cd-tool*.zip $(HOSTNAME):$(WEBPATH)/cd-tool
+ scp ../FAQ-cd.txt $(HOSTNAME):$(WEBPATH)/cd-tool/README.txt
+ scp ../COPYING $(HOSTNAME):$(WEBPATH)/cd-tool
+ scp *.lua $(HOSTNAME):$(WEBPATH)/cd-tool
+ scp luapatch* $(HOSTNAME):$(WEBPATH)/luapatch
+ scp ../README-LuaPatch.txt $(HOSTNAME):$(WEBPATH)/luapatch/README.txt