Build: fix distribution of daemons/ipa-slapi-plugins/ipa-exdom-extop files

All the headers are now listed in _SOURCES variable.
It seems weird but this is what GNU Automake manual suggests in section
9.2 Header files:
  Headers used by programs or convenience libraries are not installed.
  The noinst_HEADERS variable can be used for such headers.
  However when the header actually belongs to a single convenience library
  or program, we recommend listing it in the program’s or library’s
  _SOURCES variable (see Program Sources) instead of in noinst_HEADERS.
  This is clearer for the Makefile.am reader.
  noinst_HEADERS would be the right variable to use in a directory containing
  only headers and no associated library or program.

https://fedorahosted.org/freeipa/ticket/6418

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Petr Spacek 2016-11-02 19:42:35 +01:00 committed by Martin Babinsky
parent 4fb2f535ca
commit 14bce67cf0

View File

@ -21,6 +21,7 @@ plugin_LTLIBRARIES = \
$(NULL)
libipa_extdom_extop_la_SOURCES = \
ipa_extdom.h \
ipa_extdom_extop.c \
ipa_extdom_common.c \
$(NULL)
@ -66,6 +67,7 @@ app_DATA = \
EXTRA_DIST = \
README \
test_data \
$(app_DATA) \
$(NULL)