Add 'keithp-fat' target for uploading temporary builds to keithp's machine
authorKeith Packard <keithp@keithp.com>
Fri, 6 Feb 2015 11:03:00 +0000 (03:03 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 6 Feb 2015 11:03:00 +0000 (03:03 -0800)
This lets me quickly prepare a new test version for Windows/Mac in a
single command.

Signed-off-by: Keith Packard <keithp@keithp.com>
Makefile.am

index 2f8a5ee..1af4035 100644 (file)
@@ -15,7 +15,7 @@ dist-hook: ChangeLog
 fat:
        cd src && $(MAKE) all
        cd doc && $(MAKE) all
-       cd libaltos && $(MAKE) all
+       cd libaltos && $(MAKE) fat
        cd altoslib && $(MAKE) all
        cd altosuilib && $(MAKE) all
        cd icon && $(MAKE) fat
@@ -23,5 +23,23 @@ fat:
        cd micropeak && $(MAKE) fat
        cd telegps && $(MAKE) fat
 
+fat_linux = \
+       altosui/Altos-Linux-$(VERSION).sh altosui/Altos-Linux-$(VERSION).tar.bz2 \
+       telegps/TeleGPS-Linux-$(VERSION).sh telegps/TeleGPS-Linux-$(VERSION).tar.bz2 \
+       micropeak/MicroPeak-Linux-$(VERSION).sh micropeak/MicroPeak-Linux-$(VERSION).tar.bz2
+
+fat_mac = \
+       altosui/Altos-Mac-$(VERSION).dmg \
+       telegps/TeleGPS-Mac-$(VERSION).dmg \
+       micropeak/MicroPeak-Mac-$(VERSION).dmg
+
+fat_windows = \
+       altosui/Altos-Windows-$(VERSION_DASH).exe \
+       telegps/TeleGPS-Windows-$(VERSION_DASH).exe \
+       micropeak/MicroPeak-Windows-$(VERSION_DASH).exe
+
+keithp-fat: fat
+       scp -p $(fat_linux) $(fat_mac) $(fat_windows) keithp.com:public_html/altos-$(VERSION)
+
 set-java-versions:
        $(top_srcdir)/fix-java-versions org.altusmetrum.altoslib=$(ALTOSLIB_VERSION) org.altusmetrum.altosuilib=$(ALTOSUILIB_VERSION)