contrib: fix makedistcheck with disabled systemd

EXTRA_DIST files need to be distributed, no matter if the systemd option
is configured or not.

Change-Id: I2e417f4c453987df1ac04f0ff41bf000da4b5c49
This commit is contained in:
Oliver Smith 2018-12-06 13:54:54 +01:00 committed by Harald Welte
parent 2f53ea4cf2
commit 867cea575b
1 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
EXTRA_DIST = \
osmo-trx-lms.service \
osmo-trx-uhd.service \
osmo-trx-usrp1.service
if HAVE_SYSTEMD
SYSTEMD_SERVICES =
@ -13,6 +18,5 @@ if DEVICE_LMS
SYSTEMD_SERVICES += osmo-trx-lms.service
endif
EXTRA_DIST = $(SYSTEMD_SERVICES)
systemdsystemunit_DATA = $(SYSTEMD_SERVICES)
endif # HAVE_SYSTEMD