diff --git a/TODO b/TODO index 3f52e3f..5c093ab 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,3 @@ -* https * mod wheel * recursive object merge in tibia diff --git a/templates/web-demo/demo.mk b/templates/web-demo/demo.mk index d818a91..01a0dda 100644 --- a/templates/web-demo/demo.mk +++ b/templates/web-demo/demo.mk @@ -1,4 +1,9 @@ -ALL += build/index.html +ALL += build/index.html build/cert.pem build/key.pem build/index.html: src/index.html | build cp $^ $@ + +build/key.pem: build/cert.pem + +build/cert.pem: | build + yes "" | openssl req -x509 -newkey rsa:2048 -keyout build/key.pem -out build/cert.pem -days 365 -nodes 2>/dev/null