Added a new make target, osx-app, to build only the app and not the dmg.

This is usefull when using the app locally.

svn path=/trunk/; revision=25646
This commit is contained in:
Stig Bjørlykke 2008-07-01 13:39:09 +00:00
parent bd0598cc55
commit 673a730de3
1 changed files with 7 additions and 2 deletions

View 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)