diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: % |