make: replace all filedate occurences

This commit is contained in:
Matthias Vogelgesang 2016-03-14 11:26:04 +01:00
parent 6ff1299c56
commit 094fa5755e
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ ctan: $(CTAN_CONTENT) ctan-version
@tar --transform "s@\(.*\)@metropolis/\1@" -cf metropolis-$(shell date "+%Y-%m-%d").tar.gz $(CTAN_CONTENT)
ctan-version:
@sed -i 's@\(ProvidesPackage.*\[\)[0-9/]*@\1$(shell date "+%Y/%m/%d")@' $(PACKAGE_SRC)
@sed -i 's@20[0-9][0-9]/[0-9]*/[0-9]*@$(shell date "+%Y/%m/%d")@' $(PACKAGE_SRC)
$(CACHE_DIR):
@mkdir -p $(CACHE_DIR)