forked from public/stack
add matrix well-known files
This commit is contained in:
parent
42ad0cd6cb
commit
2b3d8da0a5
11
Makefile
11
Makefile
|
@ -31,6 +31,13 @@ credentials: \
|
||||||
$(KEY_DIR)/%.asc:
|
$(KEY_DIR)/%.asc:
|
||||||
$(call fetch_pgp_key,$(basename $(notdir $@)))
|
$(call fetch_pgp_key,$(basename $(notdir $@)))
|
||||||
|
|
||||||
|
$(OUT_DIR)/website/.well-known/matrix/server \
|
||||||
|
$(OUT_DIR)/website/.well-known/matrix/server:
|
||||||
|
mkdir -p $(OUT_DIR)/website/.well-known/matrix
|
||||||
|
cp -R \
|
||||||
|
$(SRC_DIR)/well-known/matrix/* \
|
||||||
|
$(OUT_DIR)/website/.well-known/matrix/
|
||||||
|
|
||||||
$(OUT_DIR)/website/.well-known/openpgpkey:
|
$(OUT_DIR)/website/.well-known/openpgpkey:
|
||||||
$(call toolchain," \
|
$(call toolchain," \
|
||||||
sq wkd \
|
sq wkd \
|
||||||
|
@ -39,7 +46,9 @@ $(OUT_DIR)/website/.well-known/openpgpkey:
|
||||||
")
|
")
|
||||||
|
|
||||||
$(OUT_DIR)/website/index.html: \
|
$(OUT_DIR)/website/index.html: \
|
||||||
$(OUT_DIR)/website/.well-known/openpgpkey
|
$(OUT_DIR)/website/.well-known/openpgpkey \
|
||||||
|
$(OUT_DIR)/website/.well-known/matrix/server \
|
||||||
|
$(OUT_DIR)/website/.well-known/matrix/client
|
||||||
$(call toolchain," \
|
$(call toolchain," \
|
||||||
cd $(SRC_DIR)/website \
|
cd $(SRC_DIR)/website \
|
||||||
&& jekyll build \
|
&& jekyll build \
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"m.homeserver": {
|
||||||
|
"base_url": "https://distrust.ems.host"
|
||||||
|
},
|
||||||
|
"m.identity_server": {
|
||||||
|
"base_url": "https://vector.im"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"m.server": "distrust.ems.host:443"
|
||||||
|
}
|
Loading…
Reference in New Issue