summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5d91674..14732a2 100644
--- a/Makefile
+++ b/Makefile
@@ -22,13 +22,13 @@ index.xml: index.txt includes/header-index.xml includes/footer.xml
@echo making $@
@sed "s/TITLE/`head -n 1 < $<`/" < includes/header-index.xml > $@
@$(MARKDOWN) $< >> $@
- @sed "s/MODDATE/`ls -lc $<|awk '{print $$6}'`/" < includes/footer.xml >> $@
+ @sed "s/MODDATE/`ls -lc --time-style=+%Y-%m-%d $<|awk '{print $$6}'`/" < includes/footer.xml >> $@
.txt.xml:
@echo making $@
@sed "s/TITLE/`head -n 1 < $<`/" < includes/header.xml > $@
@$(MARKDOWN) $< >> $@
- @sed "s/MODDATE/`ls -lc $<|awk '{print $$6}'`/" < includes/footer.xml >> $@
+ @sed "s/MODDATE/`ls -lc --time-style=+%Y-%m-%d $<|awk '{print $$6}'`/" < includes/footer.xml >> $@
# not POSIX compatible
%.gz: %