From 8f5156f2c9fdc393aba091b30da4c58815bc0eaf Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 24 Jan 2021 09:03:16 -0800 Subject: build: add rule for updating .shipped material. * Makefile (%.shipped): New pattern rule. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1c67c488..1311dab7 100644 --- a/Makefile +++ b/Makefile @@ -296,6 +296,9 @@ y.tab.c: $(top_srcdir)parser.y false ; \ fi) +%.shipped: $(top_srcdir)% + $(call SH,[ $^ -nt $@ ] && cp $^ $@) + else %: $(top_srcdir)%.shipped -- cgit v1.2.3