stagit

static git page generator  https://git.ce9e.org
git clone https://git.ce9e.org/stagit.git

commit
f59de0d0f32350b6bbf3bc68cecf2cb1a8e9de35
parent
7be949c4d6a99242c78e0b5d51cd030ae39992e8
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-12-05 06:23
make: add clean target

Diffstat

M Makefile 5 ++++-

1 files changed, 4 insertions, 1 deletions


diff --git a/Makefile b/Makefile

@@ -12,6 +12,7 @@ src/stagit.o: src/stagit.c src/strlcpy.c src/config.h
   12    12 %.c: %.c.in src/ctpl.py
   13    13 	python3 src/ctpl.py $< > $@
   14    14 
   -1    15 .PHONY: install
   15    16 install: stagit
   16    17 	install -D -m 755 stagit "${DESTDIR}/usr/bin/stagit"
   17    18 	install -D -m 644 data/style.css "${DESTDIR}/var/www/git/style.css"
@@ -20,4 +21,6 @@ install: stagit
   20    21 	install -D -m 755 gitolite/shell.py "${DESTDIR}/usr/lib/stagit/shell"
   21    22 	install -D -m 644 gitolite/stagit.py "${DESTDIR}/usr/lib/python3/dist-packages/stagit.py"
   22    23 
   23    -1 .PHONY: install
   -1    24 .PHONY: clean
   -1    25 clean:
   -1    26 	rm -rf src/stagit.c src/stagit.o stagit