Modified: CHANGELOG.md Makefile
This commit is contained in:
@@ -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@<profile>.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.
|
||||
|
||||
2
Makefile
2
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.
|
||||
|
||||
Reference in New Issue
Block a user