Introduction
Introduction Statistics Contact Development Disclaimer Help
tMakefile: fix parsing of phlog selectors - adamsgaard.dk - my academic webpage
git clone git://src.adamsgaard.dk/adamsgaard.dk
Log
Files
Refs
README
LICENSE
---
commit c6a5e9c5788f7d5893bf6b60774fa51cdee3038f
parent 7cc9a6bfecb767ac4dcb5895d30cb32acaa22bd1
Author: Anders Damsgaard <[email protected]>
Date: Fri, 11 Dec 2020 17:43:14 +0100
Makefile: fix parsing of phlog selectors
Diffstat:
M Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -15,13 +15,13 @@ generate:
printf '# %s \n\n' "$$title" > "$$out"; \
cat "$$f" >> "$$out"; \
done
- sed 's,|\([A-z0-9-]*\)\.html|server|port,|/\1.txt|server|port,' \
- $(output)/index.gph > $(gopheroutput)/index.gph
+ mv $(output)/*.gph $(gopheroutput)/
+ sed -i 's,|\([A-z0-9-]*\)\.html|server|port,|/\1.txt|server|port,' \
+ $(gopheroutput)/index.gph
sed 's,https://adamsgaard.dk,gopher://adamsgaard.dk/0,g; \
s,text/html,text,g; \
s,\.html,\.txt,g' \
$(output)/atom.xml > $(gopheroutput)/atom.xml;
- mv $(output)/*.gph $(gopheroutput)/
rsync -a $(gopheroutput)/ /var/gopher/
view:
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.