]> 4ch.mooo.com Git - 16.git/commitdiff
makefile fixed from ym mistake from yesterday. i made improvements to the automated...
authorsparky4 <sparky4@cock.li>
Thu, 5 Jan 2017 15:10:52 +0000 (09:10 -0600)
committersparky4 <sparky4@cock.li>
Thu, 5 Jan 2017 15:10:52 +0000 (09:10 -0600)
makefile

index 5b9c1c810e0f2fa081eac5a30ba06867ba6c6411..4903923764e0b3f5a4840a5516e24e38b744976d 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -81,6 +81,12 @@ DOSLIB_8250=$(DOSLIB)/hw/8250
 DOSLIB_JOYSTICK=$(DOSLIB)/hw/joystick
 DOSLIB_MEMMODE=dos86$(MEMORYMODE)
 
+# remote host (for sparky4)
+HOSTUSER=sparky4
+HOSTADDR=138.47.241.110
+#ssh port
+HOSTPORT=22
+
 #
 # quiet flags
 #
@@ -379,13 +385,13 @@ www: .symbolic
        @$(REMOVECOMMAND) /var/www/*.exe.zip*
        @for %f in ($(EXEC)) do @if exist %f @$(COPYCOMMAND) %f /var/www/
        @./src/util/z.sh $(EXEC) $(EXEC)
-       ####@wmake -h wwwext
+       @wmake -h wwwext
 
 wwwext: .symbolic
-       @ssh -p 26 sparky4@4ch.mooo.com 'rm -f /var/www/16/*exe*'
-       @scp -r -P 26 *.exe 4ch.mooo.com:/var/www/16/
-       @scp -r -P 26 x4get.bat 4ch.mooo.com:/var/www/16/
-       @scp -r -P 26 /var/www/*.exe.zip.* 4ch.mooo.com:/var/www/16/
+       @ssh -p $(HOSTPORT) $(HOSTUSER)@$(HOSTADDR) 'rm -f /var/www/16/*exe*'
+       @scp -r -P $(HOSTPORT) *.exe $(HOSTADDR):/var/www/16/
+       @scp -r -P $(HOSTPORT) x4get.bat $(HOSTADDR):/var/www/16/
+       @scp -r -P $(HOSTPORT) /var/www/*.exe.zip.* $(HOSTADDR):/var/www/16/
 
 getwww: .symbolic
        *x4get.bat $(EXEC)