summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-07-12 14:38:26 -0300
committerEuAndreh <eu@euandre.org>2025-07-12 14:38:29 -0300
commit25a2903b89d21125327eeac027e6b8653317a25b (patch)
tree26feb7bffa940c5e88b67a7ac38b06f55b9c157b
parentmeta.capim: Add :dependencies key (diff)
downloadeuandre.org-25a2903b89d21125327eeac027e6b8653317a25b.tar.gz
euandre.org-25a2903b89d21125327eeac027e6b8653317a25b.tar.xz
Makefile: delete extraneous files when installing
* Makefile (install): Add the --delete flag to the rsync(1) call.
-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