aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2021-10-08 14:39:03 -0400
committerRob Austein <sra@hactrn.net>2021-10-08 14:39:03 -0400
commitb2f9504254a3d4894d4f9a8b13f4cdbcb26fa395 (patch)
tree73538e731d56f09fb6a49b742827a9e0b6ea0f7d /GNUmakefile
parent71487660812754e5f26f26595b6c3d456f9f6db8 (diff)
A lot of minor cleanup
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile11
1 files changed, 9 insertions, 2 deletions
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