~w96k/at-w96k

at-w96k/Makefile -rw-r--r-- 437 bytes View raw
97a375aaMikhail Kirillov Add emacs page 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
build:
	@emacs	-batch -Q --no-site-file --script .emacs	\
		--eval '(find-file-literally "index.org")'	\
		--eval '(org-publish-project "blog" t)'
	@echo "Done"

serve:
	@echo "Press <C-c> to interrupt"				
	@emacs 	-batch -Q --no-site-file --script .emacs	\
		--eval '(httpd-serve-directory "./dist")'	\
		--eval '(sit-for 10000)' >/dev/null; true

stop:
	@emacs 	-batch -Q --no-site-file --script .emacs	\
		--eval '(httpd-stop)'				\