aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArun Isaac2022-01-23 23:56:10 +0530
committerArun Isaac2022-01-23 23:58:13 +0530
commit9503120f2cbfb05a782721eaa19f7297c069938d (patch)
tree2860d860b439a6b3144e36994c64b76de99e2b5b /Makefile
parente8d432ab1a7b22830024bf069618eadc7978f1e5 (diff)
downloadrun64-9503120f2cbfb05a782721eaa19f7297c069938d.tar.gz
run64-9503120f2cbfb05a782721eaa19f7297c069938d.tar.lz
run64-9503120f2cbfb05a782721eaa19f7297c069938d.zip
website: Add website.
* build-aux/build-home-page.el, website/style.css: New files. * Makefile (EMACS): New variable. (website, website/index.html): New targets.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d3aac6d..20025ab 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with run64. If not, see <https://www.gnu.org/licenses/>.
+EMACS ?= emacs
+
scripts = $(wildcard bin/*)
.PHONY: all check install
@@ -26,3 +28,8 @@ check: ;
install: $(scripts)
install -D $^ --target-directory $(bindir)
+
+website: website/index.html
+
+website/index.html: README.org build-aux/build-home-page.el
+ $(EMACS) -Q --batch --load build-aux/build-home-page.el --funcall build-website