diff options
| author | EuAndreh <eu@euandre.org> | 2025-07-12 14:38:26 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2026-06-11 06:04:27 -0300 |
| commit | c813a8cf746ff96129d3f291513b7bdb6a782b78 (patch) | |
| tree | 67fa244e3c7f575178948becbffd070a1bd1734b /Makefile | |
| parent | Makefile: Rename "check-unit-symlinks" -> "check-unit-links-symlinks" (diff) | |
| download | euandre.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-- | 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 |
