diff options
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 1c028ee398..a54ebd435b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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) |