Search
lxdream.org :: lxdream/Makefile.am :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename Makefile.am
changeset 717:bdc41b26c942
prev715:fdbad771b4b1
next719:8ce31b3d0dab
author nkeynes
date Sun Jun 29 23:31:12 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Extract BUNDLE as a constant value
file annotate diff log raw
1.1 --- a/Makefile.am Sun Jun 29 22:54:59 2008 +0000
1.2 +++ b/Makefile.am Sun Jun 29 23:31:12 2008 +0000
1.3 @@ -1,6 +1,7 @@
1.4 ## Process this file with automake to produce Makefile.in
1.5
1.6 POD2MAN=@POD2MAN@
1.7 +BUNDLE=lxdream.app
1.8
1.9 if BUILD_SYSTEST
1.10 TEST_SUBDIR = test
1.11 @@ -41,17 +42,17 @@
1.12 # Build a Mac OS X bundle. This is meaningless anywhere else
1.13 all-local:
1.14 @echo --- Building Mac Bundle ---
1.15 - rm -rf lxdream.app
1.16 - mkdir -p lxdream.app/Contents/MacOS
1.17 - mkdir -p lxdream.app/Contents/Resources
1.18 - cp src/lxdream lxdream.app/Contents/MacOS
1.19 - cp -R pixmaps/* lxdream.app/Contents/Resources
1.20 - $(srcdir)/bundlelibs.pl lxdream.app/Contents/MacOS/lxdream lxdream.app/Contents/Frameworks
1.21 + rm -rf $(BUNDLE)
1.22 + mkdir -p $(BUNDLE)/Contents/MacOS
1.23 + mkdir -p $(BUNDLE)/Contents/Resources
1.24 + cp src/lxdream $(BUNDLE)/Contents/MacOS
1.25 + cp -R pixmaps/* $(BUNDLE)/Contents/Resources
1.26 + $(srcdir)/bundlelibs.pl $(BUNDLE)/Contents/MacOS/lxdream $(BUNDLE)/Contents/Frameworks
1.27 for cat in $(CATALOGS); do \
1.28 catname=`basename "$$cat"`; \
1.29 catname=`echo $$catname|sed -e 's/$(CATOBJEXT)$$//'`; \
1.30 - mkdir -p "lxdream.app/Contents/Resources/$$catname/LC_MESSAGES"; \
1.31 - cp "po/$$cat" "lxdream.app/Contents/Resources/$$catname/LC_MESSAGES/lxdream.$(CATOBJEXT)"; \
1.32 + mkdir -p "$(BUNDLE)/Contents/Resources/$$catname/LC_MESSAGES"; \
1.33 + cp "po/$$cat" "$(BUNDLE)/Contents/Resources/$$catname/LC_MESSAGES/lxdream.$(CATOBJEXT)"; \
1.34 done
1.35 @echo --- Done ---
1.36 endif
.