Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 31 lines (22 sloc) 0.841 kb
860d31d @eschulte added a Makefile, updated ignores, publishing documentation from Makefil...
eschulte authored
1 # Name of your emacs binary
2 EMACS=emacs
3
11cc7e2 @eschulte fleshed out the makefile
eschulte authored
4 BATCH=$(EMACS) --batch -Q --eval '(setq starter-kit-dir default-directory)'
5
6 FILES = starter-kit.org \
7 starter-kit-bindings.org \
8 starter-kit-defuns.org \
9 starter-kit-misc.org \
10 starter-kit-registers.org
11
12 FILESO = $(FILES:.org=.el)
13
14 all: el
15 $(BATCH) --eval '(mapc (lambda (x) (byte-compile-file (symbol-name x))) (quote ($(FILESO))))'
16
17 el: $(FILES)
18 $(BATCH) --eval '(mapc (lambda (x) (org-babel-load-file (symbol-name x))) (quote ($(FILES))))'
19
20 doc: doc/index.html
21
22 doc/index.html:
860d31d @eschulte added a Makefile, updated ignores, publishing documentation from Makefil...
eschulte authored
23 mkdir -p doc
24 $(EMACS) --batch -Q --eval '(org-babel-load-file "starter-kit-publish.org")'
25 rm starter-kit-publish.el
26 cp doc/starter-kit.html doc/index.html
27 echo "Documentation published to doc/"
28
29 clean:
cbfdac4 @eschulte starter-kit-load can now load parts of conf files by subtree ID or TAG
eschulte authored
30 rm -f *.elc *.aux *.tex *.pdf starter-kit*.el starter-kit*.html doc/*html *~ .starter-kit*.part.org
Something went wrong with that request. Please try again.