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 --- 2015/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to '2015') diff --git a/2015/Makefile b/2015/Makefile index d3ae081..f0878ae 100644 --- a/2015/Makefile +++ b/2015/Makefile @@ -1,16 +1,11 @@ # Makefile for minutes of 2015 -MINUTES = \ -2015-01-26-board \ -2015-02-23-board \ -2015-03-22-annual \ -2015-03-25-board \ -2015-04-28-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