From b2f9504254a3d4894d4f9a8b13f4cdbcb26fa395 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 8 Oct 2021 14:39:03 -0400 Subject: A lot of minor cleanup --- GNUmakefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 25cd904..36b12d7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,3 @@ -HERE := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) HTTP_HOST := $(shell hostname -f) HTTP_PORT := 8000 @@ -6,6 +5,9 @@ HTTP_PORT := 8000 all: pelican --output website --settings pelicanconf.py --fatal errors content +clean: + git clean -dfx + server: @echo http://${HTTP_HOST}:${HTTP_PORT}/ python3 -m http.server --directory website --bind ${HTTP_HOST} ${HTTP_PORT} @@ -13,4 +15,9 @@ server: check: linkchecker website -.PHONY: all server check +tags: TAGS + +TAGS: GNUmakefile pelicanconf.py $(shell git ls-tree -r --name-only HEAD | egrep '[.]md$$') + etags $^ + +.PHONY: all clean server check tags -- cgit v1.2.3