Przeglądaj źródła

strip newlines from date call

new-build-system
Jan Lehnardt 14 lat temu
rodzic
commit
f0cdf2d171
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile Wyświetl plik

@@ -42,9 +42,9 @@ build-wrappers:
# update gh-pages with release links & travis # update gh-pages with release links & travis


# add $(version)/index.html page (from template) # add $(version)/index.html page (from template)
date=$(strip `date`)
reldate=$(strip `date`)
sed -e 's|%version%|$(version)|' \ sed -e 's|%version%|$(version)|' \
-e 's|%date%|$(date)' release-index.html > $(version)/index.html
-e 's|%date%|$(reldate)' release-index.html > $(version)/index.html


# update index.html to point to $(vesion) # update index.html to point to $(vesion)
cat index.html.pre > index.html cat index.html.pre > index.html


Ładowanie…
Anuluj
Zapisz