diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am
index 21d89808fb05765187c65f5c64b5c41465b18741..770abf6ca39f6746ed104c2017c3b01b46733b1c 100644
--- a/tests/libtest/Makefile.am
+++ b/tests/libtest/Makefile.am
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -39,7 +39,8 @@ INCLUDES = -I$(top_builddir)/include \
 
 LIBDIR = $(top_builddir)/lib
 
-EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl test1022.pl
+EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl	\
+test1022.pl Makefile.inc
 
 # Dependencies (may need to be overriden)
 LDADD = $(LIBDIR)/libcurl.la
diff --git a/tests/server/Makefile.am b/tests/server/Makefile.am
index 4b8055f09785d3602301bb360ade65262d23b542..a922f1934e53a22ec3f35345d89904b0a7eda86c 100644
--- a/tests/server/Makefile.am
+++ b/tests/server/Makefile.am
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -40,4 +40,5 @@ INCLUDES = -I$(top_builddir)/include \
 # Makefile.inc provides the source defines (noinst_PROGRAMS, useful, *_SOURCES, and *_LDADD)
 include Makefile.inc
 
-extra_DIST = base64.pl
+extra_DIST = base64.pl Makefile.inc
+