diff options
| author | Keith Packard <keithp@keithp.com> | 2010-09-09 21:28:10 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-09-09 21:28:10 -0700 |
| commit | 2d5e48c5dc0e822fdf430f43804c1e5e79fdbf84 (patch) | |
| tree | 2c4c2b7654bdd77c4e91af8037397a522c4fbf1f /ao-tools | |
| parent | dd2b77b2a516a055f29191dcdfeb727e637aae86 (diff) | |
Add --with-fat-dir configure option to publish finished stand-alone bits
--with-fat-dir specifies a directory to copy the finished
linux/macosx/windows stand-alone ("fat") packages to. A sub-directory
will be created under the specified directory based on the product
version number and the files copied there.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools')
| -rw-r--r-- | ao-tools/altosui/Makefile.am | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ao-tools/altosui/Makefile.am b/ao-tools/altosui/Makefile.am index 56e6d7ae..fa391889 100644 --- a/ao-tools/altosui/Makefile.am +++ b/ao-tools/altosui/Makefile.am @@ -102,6 +102,30 @@ clean-local: fat: $(FATJAR) $(LINUX_DIST) $(MACOSX_DIST) $(WINDOWS_DIST) +if FATINSTALL + +FATTARGET=$(FATDIR)/$(VERSION) + +LINUX_DIST_TARGET=$(FATTARGET)/$(LINUX_DIST) +MACOSX_DIST_TARGET=$(FATTARGET)/$(MACOSX_DIST) +WINDOWS_DIST_TARGET=$(FATTARGET)/$(WINDOWS_DIST) + +fat: $(LINUX_DIST_TARGET) $(MACOSX_DIST_TARGET) $(WINDOWS_DIST_TARGET) + +$(LINUX_DIST_TARGET): $(LINUX_DIST) + mkdir -p $(FATTARGET) + cp -p $< $@ + +$(MACOSX_DIST_TARGET): $(MACOSX_DIST) + mkdir -p $(FATTARGET) + cp -p $< $@ + +$(WINDOWS_DIST_TARGET): $(WINDOWS_DIST) + mkdir -p $(FATTARGET) + cp -p $< $@ + +endif + altosuidir=$(datadir)/java install-altosuiJAVA: altosui.jar |
