diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2024-06-11 19:38:37 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2024-06-11 19:41:55 +0200 |
commit | 13d250c865e5bfce45f469812bd00a98d0c25cd0 (patch) | |
tree | 94c25a05036a16c02aaf1bc9d31d8b1470a7139d | |
parent | b1c24228e9921ede0af62dbf0267df1f04bed3cb (diff) | |
download | sdk-rebuild.replicant.us-13d250c865e5bfce45f469812bd00a98d0c25cd0.tar.gz sdk-rebuild.replicant.us-13d250c865e5bfce45f469812bd00a98d0c25cd0.tar.bz2 sdk-rebuild.replicant.us-13d250c865e5bfce45f469812bd00a98d0c25cd0.zip |
Also publish the source code along the way.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | Makefile.am | 17 | ||||
-rw-r--r-- | var/www/mumble.replicant.us/index.html | 13 |
2 files changed, 26 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 6b57ce1..a0de6e8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,10 @@ SENTINEL = htmldir = $(localstatedir)/www/mumble.replicant.us -html_DATA = var/www/mumble.replicant.us/index.html +html_DATA = \ + var/www/mumble.replicant.us/index.html \ + var/www/mumble.replicant.us/mumble.replicant.us.tar.xz \ + $(SENTINEL) mumbleconfigdir = $(sysconfdir) mumbleconfig_DATA = etc/mumble-server.ini @@ -24,6 +27,18 @@ sitesavailable_DATA = \ etc/apache2/sites-available/mumble.replicant.us-init.conf \ $(SENTINEL) +.PHONY: mumble.replicant.us.tar +var/www/mumble.replicant.us/mumble.replicant.us.tar: + rm -f $@ + git archive HEAD \ + --format tar \ + --prefix=mumble.replicant.us/ \ + -o $@ + +var/www/mumble.replicant.us/mumble.replicant.us.tar.xz: var/www/mumble.replicant.us/mumble.replicant.us.tar + rm -f $@ + xz -9e --verbose $< + EXTRA_DIST = \ $(letsencryptrenewal_DATA) \ $(mumbleconfig_DATA) \ diff --git a/var/www/mumble.replicant.us/index.html b/var/www/mumble.replicant.us/index.html index 390f584..95fceea 100644 --- a/var/www/mumble.replicant.us/index.html +++ b/var/www/mumble.replicant.us/index.html @@ -12,9 +12,16 @@ --> <body> <h2>Settings:</h2> -<li> -<ul>Address: mumble.replicant.us</ul> -<ul>Port: 64738</ul> +<ul> +<li>Address: mumble.replicant.us</li> +<li>Port: 64738</li> +</ul> +<h2>Source code:</h2> +<ul> +<li>Source code: + <a href="mumble.replicant.us.tar.xz">mumble.replicant.us.tar.xz</a> </li> +<li>License: AGPLv3+</li> +</ul> </body> </html> |