Correct build source depdendency

This commit is contained in:
Erik Westrup
2022-02-05 15:48:58 +01:00
parent 6b315814d0
commit 5942762514
+4 -5
View File
@@ -100,15 +100,14 @@ uninstall:
# target: install - Install all files # target: install - Install all files
install: install-scripts install-conf install-systemd install: install-scripts install-conf install-systemd
# Install targets - add build sources to prereq as well, # Install targets. Prereq build sources as well,
# so that build dir is re-created if deleted (expected behaviour). # so that build dir is re-created if deleted.
#
# target: install-scripts - Install executables. # 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. # target: install-conf - Install restic configuration files.
install-conf: $(DEST_TARGS_CONF) $(BUILD_SRCS_CONF) install-conf: $(DEST_TARGS_CONF) $(BUILD_SRCS_CONF)
# target: install-systemd - Install systemd timer and service files. # 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" # Copies sources to build directory & replace "$INSTALL_PREFIX"
$(BUILD_DIR)/% : % $(BUILD_DIR)/% : %