summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-07-12 14:38:26 -0300
committerEuAndreh <eu@euandre.org>2026-06-11 06:04:27 -0300
commitc813a8cf746ff96129d3f291513b7bdb6a782b78 (patch)
tree67fa244e3c7f575178948becbffd070a1bd1734b /Makefile
parentMakefile: Rename "check-unit-symlinks" -> "check-unit-links-symlinks" (diff)
downloadeuandre.org-c813a8cf746ff96129d3f291513b7bdb6a782b78.tar.gz
euandre.org-c813a8cf746ff96129d3f291513b7bdb6a782b78.tar.xz
Makefile: delete extraneous files when installing
* Makefile (install): Add the --delete flag to the rsync(1) call.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files 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