From 466a17dd8c5626d3c7efe9d977bad3cd8ae881a2 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 20 Apr 2020 21:48:04 -0400 Subject: [PATCH] rename feed_* to meta_feed_* and simplify wildcard function call --- Makefile | 6 +++--- feed_atom.m4 => meta_feed_atom.m4 | 0 feed_rss.m4 => meta_feed_rss.m4 | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename feed_atom.m4 => meta_feed_atom.m4 (100%) rename feed_rss.m4 => meta_feed_rss.m4 (100%) diff --git a/Makefile b/Makefile index 4fb327f..d4a1667 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ -SRC := $(filter-out $(wildcard feed_*) meta_notes.m4,$(wildcard *.m4)) +SRC := $(filter-out $(wildcard meta_*),$(wildcard *.m4)) OUTPUTS := $(patsubst %.m4,out/%.html,$(SRC)) STATIC := $(patsubst static/%,out/%,$(wildcard static/*)) all: $(OUTPUTS) out/notes.atom out/notes.rss out/style.css $(STATIC) out/%.html: %.m4 header.html footer.html ; m4 $< > $@ -out/notes.atom: feed_atom.m4 ; m4 $< > $@ -out/notes.rss: feed_rss.m4 ; m4 $< > $@ +out/notes.atom: meta_feed_atom.m4 ; m4 $< > $@ +out/notes.rss: meta_feed_rss.m4 ; m4 $< > $@ $(STATIC): ; ln -s $(PWD)/static/$(notdir $@) $@ deploy: diff --git a/feed_atom.m4 b/meta_feed_atom.m4 similarity index 100% rename from feed_atom.m4 rename to meta_feed_atom.m4 diff --git a/feed_rss.m4 b/meta_feed_rss.m4 similarity index 100% rename from feed_rss.m4 rename to meta_feed_rss.m4 -- 2.20.1