Added a new make target, osx-app, to build only the app and not the dmg.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 1 Jul 2008 13:39:09 +0000 (13:39 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 1 Jul 2008 13:39:09 +0000 (13:39 +0000)
This is usefull when using the app locally.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25646 f5534014-38df-0310-8fa8-9805f1628bb7

Makefile.am

index 1c028ee39860a8dd0e724b45c3fadcd72025345a..a54ebd435bc3aeec05f3e032c1268003f99b9a1d 100644 (file)
@@ -967,18 +967,23 @@ debian-package: debian/rules
        fi
 
 # XXX - This assumes we're building from the source directory.
-osx-package: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
+osx-app: $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) packaging/macosx/Info.plist
        @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
                rm -rf $(stagedir) ; \
                $(MAKE) DESTDIR=$(stagedir) install; \
                cd $(srcdir)/packaging/macosx ;  \
                ./osx-app.sh -bp ../staging/$(PACKAGE).inst/$(bindir) ; \
-               ./osx-dmg.sh ; \
        else \
                echo "Error: OS X packaging tools not found." ; \
                echo "Package build abandoned." ; \
        fi
 
+osx-package: osx-app
+       @if test x$(HAVE_OSX_PACKAGING) = xyes ; then \
+               cd $(srcdir)/packaging/macosx ;  \
+               ./osx-dmg.sh ; \
+       fi
+
 clean-local:
        rm -rf $(top_stagedir)