summaryrefslogtreecommitdiff
path: root/MSVC_Net2003/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'MSVC_Net2003/Makefile.am')
-rw-r--r--MSVC_Net2003/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/MSVC_Net2003/Makefile.am b/MSVC_Net2003/Makefile.am
index e465969..3d6c370 100644
--- a/MSVC_Net2003/Makefile.am
+++ b/MSVC_Net2003/Makefile.am
@@ -27,5 +27,10 @@ EXTRA_DIST=libsigc++2_msvcNet2003.vcproj libsigc++2_msvcNet2003.sln \
tests/test_slot/test_slot.vcproj \
tests/test_trackable/test_trackable.vcproj
-sigc++config.h: $(top_builddir)/sigc++config.h
- cp -f $< $@
+
+# Copy config file generated by the configure script. Dependency is
+# wht respect to the .h.in file, to prevent an error with 'make distcheck'.
+# See http://sources.redhat.com/automake/automake.html#distcleancheck
+
+sigc++config.h: $(top_srcdir)/sigc++config.h.in $(top_srcdir)/configure.ac
+ cp -f $(top_builddir)/sigc++config.h $@