Update of /cvsroot/mahogany/M/src
In directory sc8-pr-cvs1:/tmp/cvs-serv22482/src

Modified Files:
        Makefile 
Log Message:
build only the bundle under Mac OS, don't keep standalone binary any more

Index: Makefile
===================================================================
RCS file: /cvsroot/mahogany/M/src/Makefile,v
retrieving revision 1.97
retrieving revision 1.98
diff -b -u -2 -r1.97 -r1.98
--- Makefile    8 Jan 2004 22:42:18 -0000       1.97
+++ Makefile    10 Jan 2004 21:57:01 -0000      1.98
@@ -41,9 +41,9 @@
 include ../makerules
 
-# under Mac OS we need to build a bundle in addition to the main binary
+# under Mac OS we need to build a bundle and not just a single binary
 ifdef USE_MAC
-M_BUNDLE := bundle
+M_APP := M_bundle
 else
-M_BUNDLE :=
+M_APP := M
 endif
 
@@ -65,5 +65,5 @@
 # OK, we've got all the names and the rules to generate them; we can
 # now actually specify the dependencies.
-binary:        M $(MSOS) $(M_BUNDLE)
+binary:        $(M_APP) $(MSOS)
        @true
 
@@ -81,7 +81,6 @@
 BUNDLE := M.app/Contents
 
-# Targets to build a Mac OS X application bundle
-# (copied from wxWindows makefiles)
-bundle: $(BUNDLE)/MacOS/M \
+# Target to build a Mac OS X application bundle
+M_bundle: $(BUNDLE)/MacOS/M \
         $(BUNDLE)/Info.plist \
         $(BUNDLE)/PkgInfo \
@@ -99,5 +98,5 @@
 $(BUNDLE)/MacOS/M: M
        @$(INSTALL) -d `dirname [EMAIL PROTECTED]
-       @cp $< $@
+       @mv $< $@
 
 $(BUNDLE)/Resources/M.rsrc: $(SOURCEDIR)/macosx/M.rsrc



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to