CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     ott <[EMAIL PROTECTED]> 05/05/23 11:55:58

Modified files:
        .              : Makefile.am 

Log message:
        added wesnoth_bundle target, creating standalone Mac OS X app using
        commandline tools (quite primitive, but at least it can be launched
        using the Finder)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/Makefile.am.diff?tr1=1.37&tr2=1.38&r1=text&r2=text

Patches:
Index: wesnoth/Makefile.am
diff -u wesnoth/Makefile.am:1.37 wesnoth/Makefile.am:1.38
--- wesnoth/Makefile.am:1.37    Sun May 22 23:12:27 2005
+++ wesnoth/Makefile.am Mon May 23 11:55:57 2005
@@ -25,6 +25,13 @@
            *) f=$$p;; \
          esac;
 
+bundle_contents = "@[EMAIL PROTECTED]/Contents"
[EMAIL PROTECTED]@_bundle: src/@PACKAGE@
+       mkdir -p $(bundle_contents)/MacOS
+       mkdir -p $(bundle_contents)/Resources
+       echo "APPL????" > $(bundle_contents)/PkgInfo
+       $(INSTALL_PROGRAM) $< "$(bundle_contents)/MacOS/@PACKAGE_NAME@"
+
 install-data-local:
        @$(NORMAL_INSTALL)
 if INSTALLDATA


Reply via email to