https://github.com/quicwg/base-drafts
Raw File
Tip revision: 8c8753470c0c08c4c5652ecd880e13a2c56309db authored by Martin Thomson on 19 May 2021, 00:43:28 UTC
Invalidate the git cache entirely
Tip revision: 8c87534
Makefile
PYTHON := $(shell which python3)
ifeq ($(PYTHON),)
PYTHON := $(shell which python)
endif

MD_PREPROCESSOR := sed -e 's/{DATE}/$(shell date '+%Y-%m-%d')/g'
XML_TIDY := $(PYTHON) ./xml2rfc-tidy.py

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 main https://github.com/martinthomson/i-d-template $(LIBDIR)
endif

latest:: lint
.PHONY: lint

ifneq ($(PYTHON),)
lint::
	@$(PYTHON) ./.lint.py $(addsuffix .md,$(drafts))
endif

show-next:
	@echo $(drafts_next)
back to top