diff options
author | jao <jao@gnu.org> | 2021-04-04 03:01:53 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-04-04 03:01:53 +0100 |
commit | b0813dedce855e82eeb51da1a38086312d0560d2 (patch) | |
tree | 1e1b1af46a4b62b63a2ab23628c5815401dcb89c | |
parent | 5707380554a22f80de2573db0bc15d9488500df9 (diff) | |
download | geiser-b0813dedce855e82eeb51da1a38086312d0560d2.tar.gz geiser-b0813dedce855e82eeb51da1a38086312d0560d2.tar.bz2 |
makefiles (and lack thereof)
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | doc/makefile | 9 | ||||
-rw-r--r-- | makefile | 23 |
3 files changed, 9 insertions, 24 deletions
@@ -46,3 +46,4 @@ Makefile.in /scheme/mit/geiser/geiser-w32.crf /scheme/mit/geiser/geiser-w32.fre /scheme/mit/geiser/geiser-w32.pkd +/doc/html diff --git a/doc/makefile b/doc/makefile index 1d3bb63..a192e00 100644 --- a/doc/makefile +++ b/doc/makefile @@ -1,4 +1,4 @@ -# Copyright (C) 2010, 2020 Jose Antonio Ortega Ruiz +# Copyright (C) 2010, 2020, 2021 Jose Antonio Ortega Ruiz # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without @@ -10,6 +10,10 @@ top_srcdir=.. output_dir=html +port ?= 8082 + +clean: + rm -f $(output_dir)/*.html web: rm -f $(output_dir)/*.html @@ -22,3 +26,6 @@ web: $(top_srcdir)/doc/web.texi cp $(top_srcdir)/doc/geiser.css ${output_dir} cp -r $(top_srcdir)/doc/img ${output_dir} + +http: web + cd $(output_dir) && python -m http.server $(port) diff --git a/makefile b/makefile deleted file mode 100644 index ebddc0d..0000000 --- a/makefile +++ /dev/null @@ -1,23 +0,0 @@ -elpa_name = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) -elpa_dir = $(elpa_name) -elpa_slogan = "GNU Emacs and Scheme talk to each other" -geiser_el = $(elpa_dir)/geiser.el -bin_dir = $(elpa_dir)/bin -scheme_dir = $(elpa_dir)/scheme - -elpa: info - rm -rf $(elpa_dir) - mkdir -p $(elpa_dir) - - echo '(define-package "geiser" "$(PACKAGE_VERSION)" $(elpa_slogan))' \ - > $(elpa_dir)/geiser-pkg.el - - cp $(abs_top_srcdir)/elisp/*.el $(elpa_dir) - - cp doc/geiser.info $(elpa_dir) - (cd $(elpa_dir) && install-info --dir=dir geiser.info 2>/dev/null) - - cp readme.org $(elpa_dir)/README - - rm -f $(elpa_name).tar - tar cf $(elpa_name).tar $(elpa_name) |