Преглед изворни кода

strip newlines from date call

new-build-system
Jan Lehnardt пре 14 година
родитељ
комит
de34cf3223
1 измењених фајлова са 1 додато и 2 уклоњено
  1. +1
    -2
      Makefile

+ 1
- 2
Makefile Прегледај датотеку

@@ -42,9 +42,8 @@ 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)
reldate=$(shell date)
sed -e 's|%version%|$(version)|' \ sed -e 's|%version%|$(version)|' \
-e 's|%date%|$(reldate)' release-index.html > $(version)/index.html
-e 's|%date%|$(shell date)' 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


Loading…
Откажи
Сачувај