diff options
author | Gustav Eek <gustav.eek@fripost.org> | 2019-08-11 18:55:19 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@fripost.org> | 2019-08-11 18:55:19 +0200 |
commit | 2ec6f81de8d725d515cb014f6910400185594fbc (patch) | |
tree | 0b3d6ca2ba3bda822ade3c7641988a29d8746863 /2018/Makefile | |
parent | e4247ab14e56fc8f99857f18fb50b7374e8fd8e7 (diff) |
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
Diffstat (limited to '2018/Makefile')
-rw-r--r-- | 2018/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
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) |