diff options
author | EuAndreh <eu@euandre.org> | 2025-07-12 14:38:26 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-07-12 14:38:29 -0300 |
commit | 25a2903b89d21125327eeac027e6b8653317a25b (patch) | |
tree | 26feb7bffa940c5e88b67a7ac38b06f55b9c157b | |
parent | meta.capim: Add :dependencies key (diff) | |
download | euandre.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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |