Commit 1ac7131d authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Merging trac5266 (make (dist)clean)

parents 20eca3b1 6139b8ab
......@@ -1345,6 +1345,7 @@ AC_CONFIG_COMMANDS([permissions], [
chmod +x src/bin/shell/tests/shell_process_tests.sh
chmod +x src/bin/shell/tests/shell_unittest.py
chmod +x src/lib/dns/gen-rdatacode.py
chmod +x src/lib/log/tests/buffer_logger_test.sh
chmod +x src/lib/log/tests/console_test.sh
chmod +x src/lib/log/tests/destination_test.sh
chmod +x src/lib/log/tests/init_logger_test.sh
......
......@@ -4,7 +4,7 @@ SUBDIRS = . tests
sbin_SCRIPTS = kea-admin
man_MANS = kea-admin.8
DISTCLEANFILES = $(man_MANS)
DISTCLEANFILES = $(sbin_SCRIPTS) $(man_MANS)
EXTRA_DIST = $(man_MANS) kea-admin.xml admin-utils.sh
if GENERATE_DOCS
......
......@@ -27,7 +27,7 @@ AM_CPPFLAGS += -DCFG_EXAMPLES=\"$(abs_top_srcdir)/doc/examples/agent\"
CLEANFILES = $(builddir)/interfaces.txt $(builddir)/logger_lockfile
DISTCLEANFILES = ca_process_tests.sh
DISTCLEANFILES = ca_process_tests.sh test_data_files_config.h test_libraries.h
AM_CXXFLAGS = $(KEA_CXXFLAGS)
......
......@@ -27,7 +27,7 @@ AM_CPPFLAGS += -DCFG_EXAMPLES=\"$(abs_top_srcdir)/doc/examples/ddns\"
CLEANFILES = $(builddir)/interfaces.txt $(builddir)/logger_lockfile
DISTCLEANFILES = d2_process_tests.sh
DISTCLEANFILES = d2_process_tests.sh test_data_files_config.h
AM_CXXFLAGS = $(KEA_CXXFLAGS)
......
......@@ -23,7 +23,7 @@ endif
CLEANFILES = *.gcno *.gcda spec_config.h dhcp4_messages.h dhcp4_messages.cc s-messages
man_MANS = kea-dhcp4.8
DISTCLEANFILES = $(man_MANS)
DISTCLEANFILES = $(man_MANS) spec_config.h.pre
EXTRA_DIST = $(man_MANS) kea-dhcp4.xml dhcp4.spec
EXTRA_DIST += dhcp4.dox dhcp4_hooks.dox dhcp4o6.dox
EXTRA_DIST += dhcp4_parser.yy
......
......@@ -30,7 +30,8 @@ CLEANFILES += $(builddir)/load_marker.txt $(builddir)/unload_marker.txt
CLEANFILES += $(builddir)/test_leases.csv.*
CLEANFILES += *.json *.log
DISTCLEANFILES = dhcp4_process_tests.sh
DISTCLEANFILES = dhcp4_process_tests.sh marker_file.h
DISTCLEANFILES += test_data_files_config.h test_libraries.h
AM_CXXFLAGS = $(KEA_CXXFLAGS)
......
......@@ -23,7 +23,7 @@ endif
CLEANFILES = spec_config.h dhcp6_messages.h dhcp6_messages.cc s-messages
man_MANS = kea-dhcp6.8
DISTCLEANFILES = $(man_MANS)
DISTCLEANFILES = $(man_MANS) spec_config.h.pre
EXTRA_DIST = $(man_MANS) kea-dhcp6.xml dhcp6.spec
EXTRA_DIST += dhcp6.dox dhcp6_hooks.dox dhcp4o6.dox
EXTRA_DIST += dhcp6_parser.yy
......
......@@ -31,7 +31,8 @@ CLEANFILES += $(builddir)/load_marker.txt $(builddir)/unload_marker.txt
CLEANFILES += $(builddir)/test_leases.csv.*
CLEANFILES += *.json *.log
DISTCLEANFILES = dhcp6_process_tests.sh
DISTCLEANFILES = dhcp6_process_tests.sh marker_file.h
DISTCLEANFILES += test_data_files_config.h test_libraries.h
AM_CXXFLAGS = $(KEA_CXXFLAGS)
......
......@@ -7,7 +7,7 @@ sbin_SCRIPTS = kea-shell
CLEANFILES = *.pyc
man_MANS = kea-shell.8
DISTCLEANFILES = $(man_MANS)
DISTCLEANFILES = $(sbin_SCRIPTS) $(man_MANS)
EXTRA_DIST = $(man_MANS) kea-shell.xml
if GENERATE_DOCS
......
......@@ -2,6 +2,8 @@ PYTESTS = shell_unittest.py
SHTESTS = shell_process_tests.sh
noinst_SCRIPTS = $(PYTESTS) $(SHTESTS)
DISTCLEANFILES = shell_process_tests.sh shell_unittest.py
# test using command-line arguments, so use check-local target instead of TESTS
check-local: check-shell check-python
......
......@@ -18,6 +18,7 @@ endif
EXTRA_DIST = test_users_1.txt test_users_err.txt
CLEANFILES = *.gcno *.gcda
DISTCLEANFILES = test_data_files_config.h
TESTS_ENVIRONMENT = \
$(LIBTOOL) --mode=execute $(VALGRIND_COMMAND)
......
......@@ -11,6 +11,7 @@ AM_LDFLAGS = -static
endif
CLEANFILES = *.gcno *.gcda
DISTCLEANFILES = data_def_unittests_config.h
TESTS_ENVIRONMENT = \
$(LIBTOOL) --mode=execute $(VALGRIND_COMMAND)
......
......@@ -15,6 +15,7 @@ AM_LDFLAGS = -static
endif
CLEANFILES = *.gcno *.gcda
DISTCLEANFILES = test_libraries.h
TESTS_ENVIRONMENT = \
$(LIBTOOL) --mode=execute $(VALGRIND_COMMAND)
......
......@@ -13,6 +13,8 @@ CLEANFILES += s-rdatacode
CLEANFILES += python/rrtype_constants_inc.cc
CLEANFILES += python/rrclass_constants_inc.cc
DISTCLEANFILES = gen-rdatacode.py
EXTRA_DIST = rrclass-placeholder.h
EXTRA_DIST += rrparamregistry-placeholder.cc
EXTRA_DIST += rrtype-placeholder.h
......
......@@ -17,6 +17,9 @@ ALL_LIBS = $(HOOKS_LIB) $(LOG_LIB) $(THREADS_LIB) $(UTIL_LIB) $(EXCEPTIONS
# Files to clean include the file created by testing.
CLEANFILES = *.gcno *.gcda $(builddir)/marker_file.dat
# Files generated by configure
DISTCLEANFILES = marker_file.h test_libraries.h
TESTS_ENVIRONMENT = \
$(LIBTOOL) --mode=execute $(VALGRIND_COMMAND)
......
......@@ -11,6 +11,10 @@ AM_LDFLAGS += -static
endif
CLEANFILES = *.gcno *.gcda *.lock
DISTCLEANFILES = buffer_logger_test.sh
DISTCLEANFILES += console_test.sh destination_test.sh init_logger_test.sh
DISTCLEANFILES += local_file_test.sh logger_lock_test.sh severity_test.sh
DISTCLEANFILES += tempdir.h
EXTRA_DIST = log_test_messages.mes
BUILT_SOURCES = log_test_messages.h log_test_messages.cc
......
......@@ -35,6 +35,9 @@ EXTRA_DIST = process_messages.mes libprocess.dox
# Get rid of generated message files on a clean
CLEANFILES = *.gcno *.gcda spec_config.h process_messages.h process_messages.cc s-messages
# Generated by configure files
DISTCLEANFILES = spec_config.h.pre
lib_LTLIBRARIES = libkea-process.la
libkea_process_la_SOURCES = d_cfg_mgr.cc d_cfg_mgr.h
libkea_process_la_SOURCES += d_controller.cc d_controller.h
......
noinst_SCRIPTS = const2hdr.py gen_wiredata.py
EXTRA_DIST = const2hdr.py
DISTCLEANFILES = gen_wiredata.py
......@@ -17,6 +17,8 @@ CLEANFILES = *.gcno *.gcda
# CSV files are created by unit tests for CSVFile class.
CLEANFILES += *.csv
DISTCLEANFILES = process_spawn_app.sh
noinst_SCRIPTS = process_spawn_app.sh
TESTS_ENVIRONMENT = \
......
......@@ -11,4 +11,11 @@ sqlscripts_DATA += upgrade_4.1_to_5.0.sh
sqlscripts_DATA += upgrade_5.0_to_5.1.sh
DISTCLEANFILES = upgrade_1.0_to_2.0.sh
DISTCLEANFILES += upgrade_2.0_to_3.0.sh
DISTCLEANFILES += upgrade_3.0_to_4.0.sh
DISTCLEANFILES += upgrade_4.0_to_4.1.sh
DISTCLEANFILES += upgrade_4.1_to_5.0.sh
DISTCLEANFILES += upgrade_5.0_to_5.1.sh
EXTRA_DIST = ${sqlscripts_DATA}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment