Use environment $IRCLOG and $MEMECACHE if defined - bitreich-memestats - Bitreich meme statistics and graphs. HTML git clone git://bitreich.org/bitreich-memestats git://hg6vgqziawt5s4dj.onion/bitreich-memestats DIR Log DIR Files DIR Refs DIR Tags DIR LICENSE --- DIR commit 82ac4a0f6a893b9195b0ae309b0647b609ead526 DIR parent 0086f47923e36075b7a20fa4a01a4ae618360876 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 20 Apr 2020 10:21:46 +0200 Use environment $IRCLOG and $MEMECACHE if defined Diffstat: M Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- DIR diff --git a/Makefile b/Makefile @@ -1,11 +1,11 @@ -memecache = "$(HOME)/code/memecache" -irclog = ~/.irssi/log/Freenode/\#bitreich-en.log +MEMECACHE ?= "$(HOME)/code/memecache" +IRCLOG ?= ~/.irssi/log/Freenode/\#bitreich-en.log memecount: plot-memecount.sh top10 media-stats memecount_lin memecount_semilog cat memecount_lin top10 media-stats memecount_semilog > $@ media-stats: media-stats.sh - ./media-stats.sh $(memecache) > $@ + ./media-stats.sh $(MEMECACHE) > $@ top10: top10.sh all_time_weekly_popularity.tsv ./top10.sh > $@ @@ -32,10 +32,10 @@ all_time_use.tsv: memeuse.tsv # format: day<tab>date<tab>time<tab>user<tab>tag memeuse.tsv: memeuse.awk - awk -f memeuse.awk $(irclog) > $@ + awk -f memeuse.awk $(IRCLOG) > $@ brtv: brtv-start.sh - ./brtv-start.sh $(memecache) + ./brtv-start.sh $(MEMECACHE) clean: rm -f memeuse.tsv