diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
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 |