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 --- 2016/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '2016') diff --git a/2016/Makefile b/2016/Makefile index 744b478..40a10de 100644 --- a/2016/Makefile +++ b/2016/Makefile @@ -1,12 +1,11 @@ # Makefile for minutes of 2016 -MINUTES = \ -2016-06-13-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