From 2ec6f81de8d725d515cb014f6910400185594fbc Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Sun, 11 Aug 2019 18:55:19 +0200 Subject: Massive Makefile update Instead of hard coaded minute list in Makefiles, the list is each minutes lists in Makefile is compiled from an shell *ls* command. Need change in how help works, and therefore all Makefiles coupled to Makefile-common --- 2018/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to '2018/Makefile') diff --git a/2018/Makefile b/2018/Makefile index d284655..cc17194 100644 --- a/2018/Makefile +++ b/2018/Makefile @@ -1,18 +1,11 @@ # Makefile for minutes of 2016 -MINUTES = \ -2018-01-22-board \ -2018-03-26-board \ -2018-04-23-board \ -2018-05-06-annual \ -2018-05-28-board \ -2018-08-27-board \ -2018-10-22-board \ +MINUTES := $(basename $(shell ls *.tex 2> /dev/null)) common-makefile = ../resources/Makefile-common help: - @make -s -f $(common-makefile) help + @make -s -f $(common-makefile) help SEND_FILES="$(MINUTES)" all: $(MINUTES) -- cgit v1.2.3