[gjs] Add symbolic link from gjs to gjs-console in $(bindir)



commit 4b9dabbcbefd7e02e398032826c4e2d82613ad61
Author: Colin Walters <walters verbum org>
Date:   Tue Jul 21 10:28:53 2009 -0400

    Add symbolic link from gjs to gjs-console in $(bindir)
    
    We'd like people to be able to type 'gjs' to run.
    
    http://bugzilla.gnome.org/show_bug.cgi?id=584560

 Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index c6cd58f..6b99e46 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -102,5 +102,7 @@ gjs_console_LDADD =		\
 
 gjs_console_SOURCES = gjs/console.c
 
+install-exec-hook:
+	(cd $(DESTDIR)$(bindir) && ln -sf gjs-console$(EXEEXT) gjs$(EXEEXT))
 
 include Makefile-test.am



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]