Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 52 lines (33 sloc) 1.28 kb
9c100b6 @gigamonkey Sources from my private svn repo, revision 552.
gigamonkey authored
1 #
2 # Makefile to build binary archive Emacs.
3 #
4
5 all: staging-archives/$(THING).tar.gz
6
7 include GNUmakefile.base
8
9 ifeq ($(os),Linux)
10
11 staging-archives/$(THING).tar.gz: $(prefix)/$(THING)
12 (cd $(prefix); tar czf - $(THING)) > $@
13
14 $(prefix)/$(THING): staging/$(THING)/src/thing
15 cd staging/$(THING); $(MAKE) install
16
17 staging/$(THING)/src/thing: staging/$(THING)/src/Makefile
18 cd staging/$(THING); $(MAKE)
19
20 staging/$(THING)/src/Makefile: staging/$(THING)
b01a7cf we don't need libgif/libtiff
Andreas Eriksen authored
21 cd staging/$(THING); ./configure --with-gif=no --with-tiff=no --with-x --prefix=$(prefix)/$(THING)
9c100b6 @gigamonkey Sources from my private svn repo, revision 552.
gigamonkey authored
22
23 staging/$(THING): source-archives/$(THING).tar.gz
24 cat $< | (cd staging; tar xzf -)
25
26 endif
27
28 ifeq ($(os),Darwin)
29
8253789 fixed a build blooper
Andreas Eriksen authored
30 EMACS_VERSION := emacs-23.2
9c100b6 @gigamonkey Sources from my private svn repo, revision 552.
gigamonkey authored
31 sourcetar := $(EMACS_VERSION).tar.gz
32
121f8e2 @andreer fixed mac build for emacs 23.2
authored
33 staging-archives/$(THING).tar.gz: staging/$(EMACS_VERSION)/nextstep/$(THING)
34 (cd staging/$(EMACS_VERSION)/nextstep; tar czf - $(THING)) > $@
9c100b6 @gigamonkey Sources from my private svn repo, revision 552.
gigamonkey authored
35
121f8e2 @andreer fixed mac build for emacs 23.2
authored
36 staging/$(EMACS_VERSION)/nextstep/$(THING): source-archives/$(sourcetar)
9c100b6 @gigamonkey Sources from my private svn repo, revision 552.
gigamonkey authored
37 mkdir -p staging
38 cat $< | (cd staging; tar xzf - )
121f8e2 @andreer fixed mac build for emacs 23.2
authored
39 cd staging/$(EMACS_VERSION); ./configure --with-ns && make install
9c100b6 @gigamonkey Sources from my private svn repo, revision 552.
gigamonkey authored
40
41 endif
42
43 ifeq ($(os),Windows)
44
45 staging-archives/$(THING).tar.gz: staging/$(THING)
46 (cd staging; tar czf - $(THING)) > $@
47
0ceb3bc @andreer ccl updates stolen from adlai
authored
48 staging/$(THING): binary-archives/$(THING)-bin-i386.zip
d81af1e @andreer fixed ccl/win32
authored
49 (cd staging; unzip ../$<)
9c100b6 @gigamonkey Sources from my private svn repo, revision 552.
gigamonkey authored
50
51 endif
Something went wrong with that request. Please try again.