Commit 6c01a22d authored by unknown's avatar unknown

symlink a whole dir, not individual files (symlinking individual files is one...

symlink a whole dir, not individual files (symlinking individual files is one subdir below and results in broken links)


cmd-line-utils/readline/Makefile.am:
  revert
BitKeeper/etc/ignore:
  added include/readline
parent 39ef383c
...@@ -773,3 +773,4 @@ ndb/lib/libREP_API.so ...@@ -773,3 +773,4 @@ ndb/lib/libREP_API.so
ndb/lib/libndbclient.so ndb/lib/libndbclient.so
ndb/lib/libndbclient_extra.so ndb/lib/libndbclient_extra.so
libmysqld/discover.cc libmysqld/discover.cc
include/readline
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Copyright (C) 1994,1996,1997 Free Software Foundation, Inc. # Copyright (C) 1994,1996,1997 Free Software Foundation, Inc.
# Last -I$(top_srcdir) needed for RedHat! # Last -I$(top_srcdir) needed for RedHat!
INCLUDES = -I.. -I$(top_srcdir)/include -I$(top_srcdir) INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)
noinst_LIBRARIES = libreadline.a noinst_LIBRARIES = libreadline.a
......
...@@ -2235,7 +2235,7 @@ then ...@@ -2235,7 +2235,7 @@ then
readline_basedir="libedit" readline_basedir="libedit"
readline_dir="$readline_topdir/$readline_basedir" readline_dir="$readline_topdir/$readline_basedir"
readline_link="\$(top_builddir)/cmd-line-utils/libedit/liblibedit.a" readline_link="\$(top_builddir)/cmd-line-utils/libedit/liblibedit.a"
readline_h_ln_cmd="\$(LN) -s \$(top_builddir)/cmd-line-utils/libedit/readline/*.h readline/" readline_h_ln_cmd="\$(LN) -s \$(top_builddir)/cmd-line-utils/libedit/readline readline"
compile_libedit=yes compile_libedit=yes
AC_DEFINE_UNQUOTED(USE_LIBEDIT_INTERFACE) AC_DEFINE_UNQUOTED(USE_LIBEDIT_INTERFACE)
elif test "$with_readline" = "yes" elif test "$with_readline" = "yes"
...@@ -2244,7 +2244,7 @@ then ...@@ -2244,7 +2244,7 @@ then
readline_basedir="readline" readline_basedir="readline"
readline_dir="$readline_topdir/$readline_basedir" readline_dir="$readline_topdir/$readline_basedir"
readline_link="\$(top_builddir)/cmd-line-utils/readline/libreadline.a" readline_link="\$(top_builddir)/cmd-line-utils/readline/libreadline.a"
readline_h_ln_cmd="\$(LN) -s \$(top_builddir)/cmd-line-utils/readline/*.h readline/" readline_h_ln_cmd="\$(LN) -s \$(top_builddir)/cmd-line-utils/readline readline"
compile_readline=yes compile_readline=yes
AC_DEFINE_UNQUOTED(USE_NEW_READLINE_INTERFACE) AC_DEFINE_UNQUOTED(USE_NEW_READLINE_INTERFACE)
else else
......
...@@ -39,25 +39,23 @@ SUPERCLEANFILES = mysql_version.h my_config.h ...@@ -39,25 +39,23 @@ SUPERCLEANFILES = mysql_version.h my_config.h
DISTCLEANFILES = sched.h $(SUPERCLEANFILES) DISTCLEANFILES = sched.h $(SUPERCLEANFILES)
clean: clean:
$(RM) -f readline/* $(RM) -fr readline
distclean: distclean:
$(RM) -f readline/* $(RM) -fr readline
all-local: my_config.h all-local: my_config.h
# Since we include my_config.h it better exist from the beginning # Since we include my_config.h it better exist from the beginning
link_sources: link_sources:
$(CP) ../config.h my_config.h $(CP) ../config.h my_config.h
$(RM) -fr readline/* -$(RM) -fr readline
-mkdir readline
@readline_h_ln_cmd@ @readline_h_ln_cmd@
# Keep automake happy # Keep automake happy
my_config.h: ../config.h my_config.h: ../config.h
$(CP) ../config.h my_config.h $(CP) ../config.h my_config.h
$(RM) -fr readline/* -$(RM) -fr readline
-mkdir readline
@readline_h_ln_cmd@ @readline_h_ln_cmd@
# These files should not be included in distributions since they are # These files should not be included in distributions since they are
......
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