From 6ae3d74d2c8b81117544bfd03558273d6c156324 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Wed, 5 Oct 2022 16:16:04 +1100 Subject: First commit. Adding mdn build tool --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..55b881c --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +BUILD_DIR := ./build + +build/mdn : mdn + +mdn : mdn/mdn-dir-locals.el + git clone --depth=1 https://github.com/mdn/content $(BUILD_DIR)/mdn + cp mdn/mdn-dir-locals.el $(BUILD_DIR)/mdn/files/.dir-locals.el +.PHONY: mdn + +install-mdn : build/mdn + mkdir -p $(DESTDIR) + mv $(BUILD_DIR)/mdn $(DESTDIR)/ +.PHONY: mdn/install -- cgit v1.2.3