Revision 8f10cc46edfe8137d183e9dd855dcce0e57bf383 authored by Martin Thomson on 04 November 2019, 03:43:57 UTC, committed by Martin Thomson on 04 November 2019, 03:43:57 UTC
1 parent 9555e35
Makefile
MD_PREPROCESSOR := sed -e 's/{DATE}/$(shell date '+%Y-%m-%d')/g'
LIBDIR := lib
include $(LIBDIR)/main.mk
$(LIBDIR)/main.mk:
ifneq (,$(shell git submodule status $(LIBDIR) 2>/dev/null))
git submodule sync
git submodule update $(CLONE_ARGS) --init
else
git clone -q --depth 10 $(CLONE_ARGS) \
-b master https://github.com/martinthomson/i-d-template $(LIBDIR)
endif
latest:: lint
.PHONY: lint
PYTHON := $(shell which python3)
ifeq ($(PYTHON),)
PYTHON := $(shell which python)
endif
ifneq ($(PYTHON),)
lint::
@$(PYTHON) ./.lint.py $(addsuffix .md,$(drafts))
endif
show-next:
@echo $(drafts_next)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...