aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--2014/Makefile17
-rw-r--r--2015/Makefile9
-rw-r--r--2016/Makefile5
-rw-r--r--2018/Makefile11
-rw-r--r--2019/Makefile8
-rw-r--r--resources/Makefile-common2
6 files changed, 11 insertions, 41 deletions
diff --git a/2014/Makefile b/2014/Makefile
index 38a83e7..aaa6f02 100644
--- a/2014/Makefile
+++ b/2014/Makefile
@@ -1,24 +1,11 @@
# Makefile for minutes of 2014
-MINUTES = \
-2014-02-11-board \
-2014-02-24-board \
-2014-03-24-board \
-2014-03-29-annual \
-2014-04-21-board \
-2014-05-19-board \
-2014-05-19-board-excerpt \
-2014-06-16-board \
-2014-09-08-board \
-2014-10-06-board \
-2014-11-03-board \
-2014-12-01-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)
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)
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)
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)
diff --git a/2019/Makefile b/2019/Makefile
index 9cb80ff..acfa277 100644
--- a/2019/Makefile
+++ b/2019/Makefile
@@ -1,15 +1,11 @@
# Makefile for minutes of 2019
-MINUTES = \
- 2019-01-28-board \
- 2019-02-25-board \
- 2019-03-25-board \
- 2019-05-27-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)
diff --git a/resources/Makefile-common b/resources/Makefile-common
index 80713a6..c64793f 100644
--- a/resources/Makefile-common
+++ b/resources/Makefile-common
@@ -62,7 +62,7 @@ send:
help:
@echo 'This script do not run without arguments. Run for example:'
@echo
- @echo ' $ make 2014-02-13-board-notes.pdf'
+ @for f in $(SEND_FILES) ; do echo " $ make $$f"; done
@echo ' $ make all'
@echo ' $ make send'
@echo ' $ make clean'