diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ffd3ef..83a2565 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added - `resticw` wrapper for working with different profiles without the need to source the profiles first. -- `$make install` will now make a timestamped backup of any existing `/etc/restic/*` files before installing a newer version. +- `$ make install-systemd` will now make a timestamped backup of any existing `/etc/restic/*` files before installing a newer version. +- `$ make install-cron` for installing the cron-job. ### Changed - **BREAKING CHANGE** moved systemd installation with makefile from `/etc/systemd/system` to `/usr/lib/systemd/system` as this is what packages should do. This is to be able to simplify the arch [PKGBUILD](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=restic-systemd-automatic-backup) so that it does not need to do anything else than `make install`. @@ -17,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # systemctl enable restic-backup@.timer ``` - **BREAKING CHANGE** moved script installation with makefile from `/usr/local/sbin` to `/sbin` to have a simpler interface to work with `$PREFIX`. +- Renamed top level make install targets. The old `$ make install` is now `$ make install-systemd` ### Fixed - Installation with custom `PREFIX` now works properly with Make: `$ PREFIX=/usr/local make install` whill now install everything at the expected location. With this, it's easy to use this script as non-root user on e.g. an macOS system. diff --git a/Makefile b/Makefile index a3df512..a11900d 100644 --- a/Makefile +++ b/Makefile @@ -104,7 +104,7 @@ uninstall: install-systemd: install-targets-script install-targets-conf install-targets-systemd # target: install-cron - Install cron setup. -install-cron: install-targets-cron +install-cron: install-targets-script install-targets-conf install-targets-cron # Install targets. Prereq build sources as well, # so that build dir is re-created if deleted.