Skip to content

Commit

Permalink
Merge pull request #1782 from vs49688/master
Browse files Browse the repository at this point in the history
Makefile.am: allow manually installing config files
mikebrady authored Jan 29, 2024
2 parents e36ec5c + ec3b5ff commit b80d072
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -211,8 +211,6 @@ shairport_sync_mpris_test_client_SOURCES = shairport-sync-mpris-test-client.c
shairport_sync_mpris_test_client_LDADD = lib_mpris_interface.a
endif

if INSTALL_CONFIG_FILES

CONFIG_FILE_INSTALL_TARGET = config-file-install-local
$(CONFIG_FILE_INSTALL_TARGET): scripts/shairport-sync.conf
install -d $(DESTDIR)$(sysconfdir)
@@ -257,8 +255,6 @@ $(MPRIS_POLICY_INSTALL_TARGET): $(MPRIS_POLICY_FILE)

endif # USE_MPRIS

endif # INSTALL_CONFIG_FILES

INSTALL_GROUP_TARGET = install-group-local

$(INSTALL_GROUP_TARGET):
@@ -329,10 +325,16 @@ $(INSTALL_CYGWIN_TARGET): scripts/shairport-sync-config

endif # INSTALL_CYGWIN_SERVICE

install-exec-hook: $(CONFIG_FILE_INSTALL_TARGET) \
install-config-files: $(CONFIG_FILE_INSTALL_TARGET) \
$(DBUS_POLICY_INSTALL_TARGET) \
$(MPRIS_POLICY_INSTALL_TARGET) \
$(INSTALL_SYSTEMV_TARGET) \
$(INSTALL_SYSTEMD_TARGET) \
$(INSTALL_FREEBSD_TARGET) \
$(INSTALL_CYGWIN_TARGET)

if INSTALL_CONFIG_FILES

install-exec-hook: install-config-files

endif

0 comments on commit b80d072

Please sign in to comment.