summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9e82a32..112e96c 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ $(PUBS:.txt=.tex): includes/header.tex includes/footer.tex
echo making $@
sed "s/TITLE/`head -n 1 < $<`/" < includes/header.xml > $@
$(MD) $< >> $@
- sed "s/MODDATE/`ls -lc --time-style=+%Y-%m-%d $<|awk '{print $$6}'`/" < includes/footer.xml >> $@
+ sed "s/MODDATE/`stat -c %y $<|awk '{print $$1}'`/" < includes/footer.xml >> $@
# TODO: clean up sed here
.txt.tex: