take two at fixin Mac issue
This commit is contained in:
Родитель
6f743c6ee2
Коммит
d478ae2386
9
Makefile
9
Makefile
|
@ -15,10 +15,11 @@ out/doc/assets/%: doc/assets/%
|
|||
out/doc/%.html: doc/%.md
|
||||
mkdir -p $(@D)
|
||||
node tools/doc/generate.js --format=html --template=doc/template.html $< > $@
|
||||
ifeq ($(UNAME),Darwin)
|
||||
sed -i '' 's/__VERSION__/${VERSION}/' $@
|
||||
else
|
||||
sed -i 's/__VERSION__/${VERSION}/' $@
|
||||
ifeq ($(UNAME),Darwin)
|
||||
sed -i '' 's/__VERSION__/${VERSION}/' $@
|
||||
else
|
||||
sed -i 's/__VERSION__/${VERSION}/' $@
|
||||
endif
|
||||
|
||||
clean:
|
||||
rm -rf out/
|
||||
|
|
Загрузка…
Ссылка в новой задаче