diff options
author | Brian Cully <bjc@spork.org> | 2024-01-19 21:11:58 -0500 |
---|---|---|
committer | Brian Cully <bjc@spork.org> | 2024-01-19 21:12:17 -0500 |
commit | 6702fe237570428884840abb4fbefab9cd40bc29 (patch) | |
tree | 152d37b39eeb2eb2552ecbfea71e0c1e5d55e3e0 /Makefile | |
parent | 8be3b0beac09c396bed2dea989f03f7cbf42a436 (diff) | |
download | fav-6702fe237570428884840abb4fbefab9cd40bc29.tar.gz fav-6702fe237570428884840abb4fbefab9cd40bc29.zip |
move static files to site directory
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,10 +2,10 @@ HTTP_PORT = 8000 HTTP_IF = -b :: PYTHON3 = python3 -ORGC = emacs -Q --batch --eval "(progn (require 'ob-tangle) (dolist (file command-line-args-left) (with-current-buffer (find-file-noselect file) (org-babel-tangle))))" +ORGC = emacs -Q --batch --eval "(progn (require 'ob-tangle) (dolist (file command-line-args-left) (with-current-buffer (find-file-noselect file) (let ((default-directory (expand-file-name \"site\" default-directory))) (org-babel-tangle)))))" -index.html: js-ver.org - $(ORGC) $< +run: site/index.html + cd site && $(PYTHON3) -m http.server $(HTTP_IF) $(HTTP_PORT) -run: index.html - $(PYTHON3) -m http.server $(HTTP_IF) $(HTTP_PORT) +site/index.html: js-ver.org + $(ORGC) $< |