aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-03-19 15:05:23 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2025-06-15 01:30:26 +0200
commit1ec9f4c5f467bfea9a8bcb8726c6bd00333facd0 (patch)
tree8dfc53c66a7f2c617b86433ed4de76459305968d /Makefile
parent014693fae7580c9be49ef9d9c0ace45e7db73cf3 (diff)
downloadhaunt-blog-1ec9f4c5f467bfea9a8bcb8726c6bd00333facd0.tar.gz
haunt-blog-1ec9f4c5f467bfea9a8bcb8726c6bd00333facd0.tar.bz2
haunt-blog-1ec9f4c5f467bfea9a8bcb8726c6bd00333facd0.zip
Makefile, links.txt: sort links to make it more reproducible.
Without that fix, the order of the links.txt differs, and running 'make links.txt' often changes the order of the lines, making it harder to review any changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bd8a107..6f49f22 100644
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,7 @@ links.txt: $(PAGES)
@for f in $(PAGES) ; do \
echo "Processing $$f" > /dev/stderr ; \
guix shell -C python python-beautifulsoup4 -- \
- python3 get_links.py $$f >> $@ ; \
+ python3 get_links.py $$f | sort -u >> $@ ; \
done
# do not depend on links.txt as a human is supposed to review it manually