|
@@ -13,6 +13,9 @@ noinst_LTLIBRARIES = libcfgrpt.la
|
|
|
nodist_libcfgrpt_la_SOURCES = config_report.cc
|
|
|
libcfgrpt_la_SOURCES = config_report.h cfgrpt.cc
|
|
|
|
|
|
+# set pathname to the input configuration report
|
|
|
+report_file = $(abs_top_builddir)/config.report
|
|
|
+
|
|
|
# Generate config_report.cc
|
|
|
-config_report.cc: $(abs_top_builddir)/config.report
|
|
|
- $(abs_top_builddir)/tools/mk_cfgrpt.sh $(abs_top_builddir)/src/lib/cfgrpt/config_report.cc
|
|
|
+config_report.cc: $(report_file)
|
|
|
+ ${SHELL} $(top_srcdir)/tools/mk_cfgrpt.sh $(report_file) $(top_builddir)/src/lib/cfgrpt/config_report.cc
|