mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
tex.mk: Add support for DATE_FORMAT
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
1c5fdddf5a
commit
4b876e5836
1 changed files with 2 additions and 1 deletions
|
|
@ -106,7 +106,8 @@ LATEX_INPUT = $(TEX) $(EPS)
|
|||
HTML_INPUT = $(HTML) $(IMAGES)
|
||||
|
||||
# this comes in handy
|
||||
DATE := $(if $(DATE),$(DATE),$(shell date +'%b, %d, %Y'))
|
||||
DATE_FORMAT ?= '%b, %d, %Y'
|
||||
DATE := $(if $(DATE),$(shell date +$(DATE_FORMAT) --date $(DATE)),$(shell date +$(DATE_FORMAT)))
|
||||
TEX_WARN_DONT_EDIT = "\
|
||||
%+---------------------------------------------------+\n\
|
||||
%| DO NOT EDIT THIS FILE! |\n\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue