Commit c1a83a4a authored by Matthias Clasen's avatar Matthias Clasen

Fix distcheck

I forgot to dist a test script, and forgot to look for it
in srcdir instead of builddir.
parent 93752123
......@@ -300,7 +300,8 @@ EXTRA_DIST += \
keyfiletest.ini \
pages.ini \
bookmarks.xbel \
empty
empty \
echo-script
dist-hook:
mkdir $(distdir)/markups; \
......
......@@ -194,12 +194,15 @@ main (int argc,
dirname = g_path_get_dirname (argv[0]);
echo_prog_path = g_build_filename (dirname, "test-spawn-echo", NULL);
echo_script_path = g_build_filename (dirname, "echo-script", NULL);
if (!g_file_test (echo_prog_path, G_FILE_TEST_EXISTS))
{
g_free (echo_prog_path);
echo_prog_path = g_build_filename (dirname, "lt-test-spawn-echo", NULL);
}
#ifndef SRCDIR
#define SRCDIR dirname
#endif
echo_script_path = g_build_filename (SRCDIR, "echo-script", NULL);
if (!g_file_test (echo_script_path, G_FILE_TEST_EXISTS))
{
gchar *tmp;
......
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