summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-02-06 03:03:00 -0800
committerKeith Packard <keithp@keithp.com>2015-02-06 03:03:00 -0800
commit83d3d967f576a57285d40e77c4a17303edeef4f1 (patch)
tree6c26f2da219051bbc02c00edca6a24d535bdc322 /Makefile.am
parent7a7d60d72e2e742fbc364489721f356806966c03 (diff)
Add 'keithp-fat' target for uploading temporary builds to keithp's machine
This lets me quickly prepare a new test version for Windows/Mac in a single command. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am20
1 files changed, 19 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 2f8a5ee1..1af40358 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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)