From 25a2903b89d21125327eeac027e6b8653317a25b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 12 Jul 2025 14:38:26 -0300 Subject: Makefile: delete extraneous files when installing * Makefile (install): Add the --delete flag to the rsync(1) call. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 518ac92..a3f44e4 100644 --- a/Makefile +++ b/Makefile @@ -463,9 +463,9 @@ clean: ## Installs into $(DESTDIR)$(PREFIX). Its dependency target ## ensures that all installable artifacts are crafted beforehand. install: all - rsync --mkpath -a --files-from=install.txt src/content/ \ + rsync --delete --mkpath -a --files-from=install.txt src/content/ \ '$(DESTDIR)$(HTMLDIR)' - rsync --mkpath -a --files-from=sources.txt src/content/ \ + rsync --delete --mkpath -a --files-from=sources.txt src/content/ \ '$(DESTDIR)$(SRCDIR)' ## Uninstalls from $(DESTDIR)$(PREFIX). This is a perfect mirror -- cgit v1.2.3