]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Revert "[master] Revert "[#584,!338] Only install YANG and netconf files with --with...
authorMichal Nowikowski <godfryd@isc.org>
Mon, 27 May 2019 20:53:51 +0000 (22:53 +0200)
committerMichal Nowikowski <godfryd@isc.org>
Mon, 27 May 2019 20:53:51 +0000 (22:53 +0200)
This reverts commit fa96b8d337ef376653e1fd2fc00074f10a4ac827.

ChangeLog
doc/Makefile.am
src/bin/keactrl/Makefile.am
src/share/Makefile.am

index 1f9cb57aadeaf742657024d931667d2e4cc1061b..ada9b17c67b460fc8453764e313fd6ee35bbb5ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,16 @@
-1586.  [build]         razvan, marcin
+1587.  [build]         razvan, marcin
        Bumped up libraries version numbers for Kea 1.6.0 beta release.
        (Gitlab #617,!340, git c0434bf882b6ec483120e39f6b70b5a40fe7c711)
 
-1585.  [bug, func]             marcin
+1586.  [bug, func]             marcin
        MySQL Configuration Backend supports DHCPv6 interface-id parameter.
        (Gitlab #628,!341, git 3a07c636ba4c7fceabe59ec597c44a9c8e3367eb)
 
+1585.  [build]         tmark
+       Files related to YANG and netconf are now only installed
+       when the build is configured with --with-syspro.
+       (Gitlab #584,!338, git 882022ce95006b051d0d17f8e5fdf4f3571b8ae2)
+
 1584.  [doc]           marcin
        Documented Kea Configuration Backend in the Kea Administrator
        Reference Manual.
index c8d604fbcb2f81e3a507ca246375f421e9c6fcf3..32f33a690ac147abaa2d992882857e62b65e0969 100644 (file)
@@ -68,9 +68,7 @@ nobase_dist_doc_DATA += examples/kea6/softwire46.json
 nobase_dist_doc_DATA += examples/kea6/stateless.json
 nobase_dist_doc_DATA += examples/kea6/with-ddns.json
 
-nobase_dist_doc_DATA += examples/netconf/kea-dhcp6-operations/BAD-config.xml
-nobase_dist_doc_DATA += examples/netconf/kea-dhcp6-operations/BAD-schema.xml
-nobase_dist_doc_DATA += examples/netconf/kea-dhcp6-operations/BAD-translator.xml
+if HAVE_SYSREPO
 nobase_dist_doc_DATA += examples/netconf/kea-dhcp6-operations/boot.json
 nobase_dist_doc_DATA += examples/netconf/kea-dhcp6-operations/logging.xml
 nobase_dist_doc_DATA += examples/netconf/kea-dhcp6-operations/netconf.json
@@ -80,6 +78,7 @@ nobase_dist_doc_DATA += examples/netconf/kea-dhcp6-operations/twosubnets.xml
 nobase_dist_doc_DATA += examples/netconf/comments.json
 nobase_dist_doc_DATA += examples/netconf/simple-dhcp4.json
 nobase_dist_doc_DATA += examples/netconf/simple-dhcp6.json
+endif
 
 # These are files that document our APIs. They're not really needed as the
 # content is included in the api.xml, but may be useful for people who
index 9bfb89d71c10cccf9442a3f88965cf7c7952e6a9..af32b3d81b65b87a2408bb071241c49fe8015d66 100644 (file)
@@ -6,7 +6,12 @@ SUBDIRS = . tests
 # setting KEACTRL_CONF environment variable.
 sbin_SCRIPTS  = keactrl
 KEA_CONFIGFILES = kea-dhcp4.conf kea-dhcp6.conf kea-dhcp-ddns.conf \
-                  kea-ctrl-agent.conf kea-netconf.conf
+                  kea-ctrl-agent.conf
+
+if HAVE_SYSREPO
+KEA_CONFIGFILES += kea-netconf.conf
+endif
+
 CONFIGFILES = keactrl.conf $(KEA_CONFIGFILES)
 
 man_MANS = keactrl.8
@@ -17,6 +22,10 @@ EXTRA_DIST = keactrl.in keactrl.conf.in kea-dhcp4.conf.pre \
              kea-ctrl-agent.conf.pre \
              $(man_MANS) keactrl.xml
 
+if HAVE_SYSREPO
+EXTRA_DIST += kea-netconf.conf.pre
+endif
+
 # *.conf files are not really sources used for building other targets, but we need
 # these files to be generated before make install is called.
 BUILT_SOURCES = $(KEA_CONFIGFILES)
@@ -51,9 +60,11 @@ kea-ctrl-agent.conf: kea-ctrl-agent.conf.pre
        $(top_builddir)/tools/path_replacer.sh \
     $(top_srcdir)/src/bin/keactrl/kea-ctrl-agent.conf.pre $@
 
+if HAVE_SYSREPO
 kea-netconf.conf: kea-netconf.conf.pre
        $(top_builddir)/tools/path_replacer.sh \
     $(top_srcdir)/src/bin/keactrl/kea-netconf.conf.pre $@
+endif
 
 if INSTALL_CONFIGURATIONS
 
index 16d61613378023e0834546faa25c603b36dfa02e..a4672e9b73bb1551e2416059698382e64f1b1dd4 100644 (file)
@@ -1 +1,6 @@
-SUBDIRS = database yang
+SUBDIRS = database
+
+if HAVE_SYSREPO
+SUBDIRS += yang
+endif
+