Skip to content

Commit

Permalink
fixed mac build for emacs 23.2
Browse files Browse the repository at this point in the history
  • Loading branch information
andreer committed May 14, 2010
1 parent dfb5948 commit 121f8e2
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions GNUmakefile.emacs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 121f8e2

Please sign in to comment.