From: David Lawrence Ramsey Date: Sun, 1 Aug 2004 16:09:15 +0000 (+0000) Subject: automatically install a symlink "rnano" pointing to nano X-Git-Tag: v1.3.4~28 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=76fb3eccda14022e7c604307a28fec8e399d0284;p=nano.git automatically install a symlink "rnano" pointing to nano git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1878 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index e978451c..faf92d9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -67,6 +67,8 @@ CVS code - newline. (DLR) - Don't treat the return value of strn?(case)?cmp() as boolean. (DLR and David Benbennick) + - Automatically install a symlink "rnano" pointing to nano. + Changes to src/Marefile.am. (DLR) - files.c: close_open_file() - Tweak to no longer rely on the return values of @@ -196,6 +198,9 @@ CVS code - value can't be larger than COLS. (DLR) - Allow the user to exit the help browser via Ctrl-C as well as Ctrl-X, for consistency with the file browser. (DLR) +- configure.ac: + - Add AC_PROG_LN_S, so that we can portably create symlinks. + (DLR) - nanorc.sample: - Add sample regexes for patch files. (Mike Frysinger) - Various improvements to the "c-file" regexes. Add double, diff --git a/configure.ac b/configure.ac index d5633249..196c4feb 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,7 @@ AC_PREREQ(2.54) dnl Checks for programs. AC_GNU_SOURCE AC_PROG_CC +AC_PROG_LN_S AC_ISC_POSIX AC_SYS_LARGEFILE diff --git a/src/Makefile.am b/src/Makefile.am index 04515409..e6567111 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,3 +19,6 @@ nano_SOURCES = color.c \ winio.c nano_LDADD = @GLIB_LIBS@ @LIBINTL@ + +install-exec-hook: + cd $(DESTDIR)$(bindir) && $(LN_S) nano rnano