Correct build source depdendency

This commit is contained in:
Erik Westrup
2022-02-05 15:48:58 +01:00
parent 6b315814d0
commit 5942762514

View File

@@ -100,15 +100,14 @@ uninstall:
# target: install - Install all files
install: install-scripts install-conf install-systemd
# Install targets - add build sources to prereq as well,
# so that build dir is re-created if deleted (expected behaviour).
#
# Install targets. Prereq build sources as well,
# so that build dir is re-created if deleted.
# target: install-scripts - Install executables.
install-scripts: $(DEST_TARGS_SCRIPT) $(BUILD_SRCS_CONF)
install-scripts: $(DEST_TARGS_SCRIPT) $(BUILD_SRCS_SCRIPT)
# target: install-conf - Install restic configuration files.
install-conf: $(DEST_TARGS_CONF) $(BUILD_SRCS_CONF)
# target: install-systemd - Install systemd timer and service files.
install-systemd: $(DEST_TARGS_SYSTEMD) $(BUILD_SRCS_CONF)
install-systemd: $(DEST_TARGS_SYSTEMD) $(BUILD_SRCS_SYSTEMD)
# Copies sources to build directory & replace "$INSTALL_PREFIX"
$(BUILD_DIR)/% : %