diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-05-06 17:02:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-05-06 17:02:11 +0200 |
commit | e8af69739a629708d2c155ebcd4fa57b8fd5006a (patch) | |
tree | 70a5b7e27eca1850db1dba950fb82db5214213c8 /Makefile.am | |
parent | 16c058ba014e210fd8f6833a56787815c1059e1f (diff) |
timesyncd: read server settings from a configuration file
Also, allow compiling in a default server list via a configure command
line item.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index cbb405b15e..dc5737e06a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -128,6 +128,7 @@ polkitpolicy_in_files = polkitpolicy_files = dist_udevrules_DATA = nodist_udevrules_DATA = +nodist_pkgsysconf_DATA = dist_pkgsysconf_DATA = dist_pkgdata_DATA = dist_dbuspolicy_DATA = @@ -4017,7 +4018,17 @@ EXTRA_DIST += \ # ------------------------------------------------------------------------------ if ENABLE_TIMESYNCD systemd_timesyncd_SOURCES = \ - src/timesync/timesyncd.c + src/timesync/timesyncd.c \ + src/timesync/timesyncd.h + +nodist_systemd_timesyncd_SOURCES = \ + src/timesync/timesyncd-gperf.c + +EXTRA_DIST += \ + src/timesync/timesyncd-gperf.gperf + +CLEANFILES += \ + src/timesync/timesyncd-gperf.c systemd_timesyncd_LDADD = \ libsystemd-label.la \ @@ -4034,6 +4045,16 @@ nodist_systemunit_DATA += \ EXTRA_DIST += \ units/systemd-timesyncd.service.in + +nodist_pkgsysconf_DATA += \ + src/timesync/timesyncd.conf + +EXTRA_DIST += \ + src/timesync/timesyncd.conf.in + +CLEANFILES += \ + src/timesync/timesyncd.conf + endif # ------------------------------------------------------------------------------ @@ -4763,7 +4784,8 @@ substitutions = \ '|RC_LOCAL_SCRIPT_PATH_START=$(RC_LOCAL_SCRIPT_PATH_START)|' \ '|RC_LOCAL_SCRIPT_PATH_STOP=$(RC_LOCAL_SCRIPT_PATH_STOP)|' \ '|PYTHON=$(PYTHON)|' \ - '|PYTHON_BINARY=$(PYTHON_BINARY)|' + '|PYTHON_BINARY=$(PYTHON_BINARY)|' \ + '|NTP_SERVERS=$(NTP_SERVERS)|' SED_PROCESS = \ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ @@ -4791,6 +4813,9 @@ src/%.policy.in: src/%.policy.in.in %.rules: %.rules.in $(SED_PROCESS) +%.conf: %.conf.in + $(SED_PROCESS) + %.sh: %.sh.in $(SED_PROCESS) $(AM_V_GEN)chmod +x $@ |