Browse files

fixed mac build for emacs 23.2

  • Loading branch information...
1 parent dfb5948 commit 121f8e25cf91afa1da24ceaa3a217e3de3a55591 @andreer committed May 14, 2010
Showing with 4 additions and 19 deletions.
  1. +4 −19 GNUmakefile.emacs
View
23 GNUmakefile.emacs
@@ -27,30 +27,15 @@ endif
ifeq ($(os),Darwin)
-EMACS_VERSION := emacs-20051204.220257
sourcetar := $(EMACS_VERSION).tar.gz
-staging-archives/$(THING).tar.gz: staging/Applications/$(THING)
- (cd staging/Applications/; tar czf - $(THING)) > $@
+staging-archives/$(THING).tar.gz: staging/$(EMACS_VERSION)/nextstep/$(THING)
+ (cd staging/$(EMACS_VERSION)/nextstep; tar czf - $(THING)) > $@
-staging/Applications/Emacs.app: staging/Emacs.pax
- cd staging; pax -r -f Emacs.pax './Applications/Emacs.app'
-
-staging/Emacs.pax: staging/Emacs.pax.gz
- cd staging; gunzip Emacs.pax.gz
-
-.SECONDARY: /Volumes/Emacs
-
-staging/Emacs.pax.gz: /Volumes/Emacs
- cp /Volumes/Emacs/Emacs.pkg/Contents/Resources/Emacs.pax.gz staging/Emacs.pax.gz
-
-/Volumes/Emacs: staging/$(EMACS_VERSION)/mac/EmacsInstaller.dmg
- hdiutil attach staging/$(EMACS_VERSION)/mac/EmacsInstaller.dmg
-
-staging/$(EMACS_VERSION)/mac/EmacsInstaller.dmg: source-archives/$(sourcetar)
+staging/$(EMACS_VERSION)/nextstep/$(THING): source-archives/$(sourcetar)
mkdir -p staging
cat $< | (cd staging; tar xzf - )
- cd staging/$(EMACS_VERSION)/mac; ./make-package --self-contained
+ cd staging/$(EMACS_VERSION); ./configure --with-ns && make install
endif

0 comments on commit 121f8e2

Please sign in to comment.