Search
lxdream.org :: lxdream :: r717:bdc41b26c942
lxdream 0.9.1
released Jun 29
Download Now
changeset717:bdc41b26c942
parent716:f353e54a3a85
child718:047a244936d1
authornkeynes
dateSun Jun 29 23:31:12 2008 +0000 (11 years ago)
Extract BUNDLE as a constant value
Makefile.am
Makefile.in
1.1 --- a/Makefile.am Sun Jun 29 23:29:01 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
2.1 --- a/Makefile.in Sun Jun 29 23:29:01 2008 +0000
2.2 +++ b/Makefile.in Sun Jun 29 23:31:12 2008 +0000
2.3 @@ -239,6 +239,7 @@
2.4 sharedstatedir = @sharedstatedir@
2.5 sysconfdir = @sysconfdir@
2.6 target_alias = @target_alias@
2.7 +BUNDLE = lxdream.app
2.8 @BUILD_SYSTEST_TRUE@TEST_SUBDIR = test
2.9 SUBDIRS = src po $(TEST_SUBDIR)
2.10 EXTRA_DIST = autogen.sh
2.11 @@ -755,17 +756,17 @@
2.12 # Build a Mac OS X bundle. This is meaningless anywhere else
2.13 @GUI_COCOA_TRUE@all-local:
2.14 @GUI_COCOA_TRUE@ @echo --- Building Mac Bundle ---
2.15 -@GUI_COCOA_TRUE@ rm -rf lxdream.app
2.16 -@GUI_COCOA_TRUE@ mkdir -p lxdream.app/Contents/MacOS
2.17 -@GUI_COCOA_TRUE@ mkdir -p lxdream.app/Contents/Resources
2.18 -@GUI_COCOA_TRUE@ cp src/lxdream lxdream.app/Contents/MacOS
2.19 -@GUI_COCOA_TRUE@ cp -R pixmaps/* lxdream.app/Contents/Resources
2.20 -@GUI_COCOA_TRUE@ $(srcdir)/bundlelibs.pl lxdream.app/Contents/MacOS/lxdream lxdream.app/Contents/Frameworks
2.21 +@GUI_COCOA_TRUE@ rm -rf $(BUNDLE)
2.22 +@GUI_COCOA_TRUE@ mkdir -p $(BUNDLE)/Contents/MacOS
2.23 +@GUI_COCOA_TRUE@ mkdir -p $(BUNDLE)/Contents/Resources
2.24 +@GUI_COCOA_TRUE@ cp src/lxdream $(BUNDLE)/Contents/MacOS
2.25 +@GUI_COCOA_TRUE@ cp -R pixmaps/* $(BUNDLE)/Contents/Resources
2.26 +@GUI_COCOA_TRUE@ $(srcdir)/bundlelibs.pl $(BUNDLE)/Contents/MacOS/lxdream $(BUNDLE)/Contents/Frameworks
2.27 @GUI_COCOA_TRUE@ for cat in $(CATALOGS); do \
2.28 @GUI_COCOA_TRUE@ catname=`basename "$$cat"`; \
2.29 @GUI_COCOA_TRUE@ catname=`echo $$catname|sed -e 's/$(CATOBJEXT)$$//'`; \
2.30 -@GUI_COCOA_TRUE@ mkdir -p "lxdream.app/Contents/Resources/$$catname/LC_MESSAGES"; \
2.31 -@GUI_COCOA_TRUE@ cp "po/$$cat" "lxdream.app/Contents/Resources/$$catname/LC_MESSAGES/lxdream.$(CATOBJEXT)"; \
2.32 +@GUI_COCOA_TRUE@ mkdir -p "$(BUNDLE)/Contents/Resources/$$catname/LC_MESSAGES"; \
2.33 +@GUI_COCOA_TRUE@ cp "po/$$cat" "$(BUNDLE)/Contents/Resources/$$catname/LC_MESSAGES/lxdream.$(CATOBJEXT)"; \
2.34 @GUI_COCOA_TRUE@ done
2.35 @GUI_COCOA_TRUE@ @echo --- Done ---
2.36
.