diff --git a/Makefile b/Makefile index 21a1bc3..6085a74 100644 --- a/Makefile +++ b/Makefile @@ -28,11 +28,13 @@ clean: install: pageburger mkdir -p $(DESTDIR) - cp pageburger $(DESTDIR) + mkdir -p $(SHAREDIR)/pageburger + cp pageburger $(SHAREDIR)/pageburger/ + ln -sf $(SHAREDIR)/pageburger/pageburger $(DESTDIR)/pageburger mkdir -p $(SHAREDIR)/icons/hicolor/scalable/apps/ mkdir -p $(SHAREDIR)/applications/ mkdir -p $(SHAREDIR)/metainfo/ cp org.hectabit.PageBurger.svg $(SHAREDIR)/icons/hicolor/scalable/apps/ cp org.hectabit.PageBurger.desktop $(SHAREDIR)/applications/ cp org.hectabit.PageBurger.metainfo.xml $(SHAREDIR)/metainfo/ - cp -r website $(SHAREDIR)/pageburger + cp -r website $(SHAREDIR)/pageburger/website diff --git a/createwebsite.sh b/createwebsite.sh new file mode 100755 index 0000000..646930d --- /dev/null +++ b/createwebsite.sh @@ -0,0 +1,14 @@ +#!/bin/sh +cd $(dirname "$(readlink -f "$0")") +git clone https://centrifuge.hectabit.org/hectabit/burgernotes --depth=1 +cd burgernotes +mkdir -p ../website/static ../website/app ../website/error ../website/login ../website/logout ../website/privacy ../website/signup +cp -r static/* ../website/static +cp templates/app.html ../website/app/index.html +cp templates/error.html ../website/error/index.html +cp templates/login.html ../website/login/index.html +cp ../logout.html ../website/logout/index.html +cp templates/privacy.html ../website/privacy/index.html +cp templates/signup.html ../website/signup/index.html +cd .. +rm -rf burgernotes diff --git a/logout.html b/logout.html new file mode 100644 index 0000000..4d84463 --- /dev/null +++ b/logout.html @@ -0,0 +1,15 @@ + + + +
+Release 1.1
+