nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 76fb3eccda14022e7c604307a28fec8e399d0284
parent b8c479a9e92788888e592ef92ae660635390ba0d
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun,  1 Aug 2004 16:09:15 +0000

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

Diffstat:
MChangeLog | 5+++++
Mconfigure.ac | 1+
Msrc/Makefile.am | 3+++
3 files changed, 9 insertions(+), 0 deletions(-)

diff --git 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 @@ -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 @@ -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