From 0cdc688555ea07bee362f76b9ce610b1801340af Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Thu, 18 Mar 2021 17:54:47 -0400 Subject: Initial commit --- Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1bdf890 --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +CSS = \ + custom.css + +FILTERS = \ + email-libravatar.lua + +all: $(CSS) + +V_GEN = $(_v_GEN_$(V)) +_v_GEN_ = $(_v_GEN_0) +_v_GEN_0 = @echo " GEN " $@; + +edit = $(V_GEN) m4 -P $@.in >$@ && chmod g-w $@ + +%: %.in + $(edit) + +%.sh: %.sh.in + $(edit) + +clean: + $(RM) $(CSS) + +deploy: all + install -m644 $(CSS) /usr/share/cgit/ + install -m644 $(FILTERS) /usr/lib/cgit/filters/ + +.PHONY: all clean -- cgit v1.2.3