diff options
author | Steve Bennett <steveb@workware.net.au> | 2011-04-09 09:14:18 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2011-06-10 14:00:11 +1000 |
commit | 4485f8dc9597d344186756024bec2e4e38dd4044 (patch) | |
tree | a360419692814ecb7057eb36298dd6fd45074a4b | |
parent | 2ffa2eee88f30ab602a8a05a3ff488d4ee96d4c4 (diff) | |
download | jimtcl-4485f8dc9597d344186756024bec2e4e38dd4044.zip jimtcl-4485f8dc9597d344186756024bec2e4e38dd4044.tar.gz jimtcl-4485f8dc9597d344186756024bec2e4e38dd4044.tar.bz2 |
Add a separate install-exec target to the Makefile
Makes it easy to install only jimsh
Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r-- | Makefile.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index 372067c..9943b02 100644 --- a/Makefile.in +++ b/Makefile.in @@ -57,10 +57,7 @@ docs: Tcl.html $(JIMSH): $(LIBJIM) jimsh.o $(CC) $(CFLAGS) @SH_LINKFLAGS@ $(LDFLAGS) -o $@ jimsh.o $(LIBJIM) $(LDLIBS) -install: all docs $(EXTENSION_TCL) - - mkdir -p $(DESTDIR)$(prefix)/bin - cp $(JIMSH) $(DESTDIR)$(prefix)/bin +install: all docs $(EXTENSION_TCL) install-exec mkdir -p $(DESTDIR)$(prefix)/lib/jim cp $(LIBJIM) $(DESTDIR)$(prefix)/lib cp @srcdir@/README.extensions $(EXTENSION_MODS) $(EXTENSION_TCL) $(DESTDIR)$(prefix)/lib/jim @@ -71,6 +68,10 @@ install: all docs $(EXTENSION_TCL) mkdir -p $(DESTDIR)$(prefix)/doc/jim cp Tcl.html $(DESTDIR)$(prefix)/doc/jim +install-exec: all + mkdir -p $(DESTDIR)$(prefix)/bin + cp $(JIMSH) $(DESTDIR)$(prefix)/bin + test: $(JIMSH) $(DEF_LD_PATH) $(MAKE) jimsh=`pwd`/jimsh -C @srcdir@/tests @@ -111,7 +112,7 @@ ship: Tcl.html # automake compatibility. do nothing for all these targets EMPTY_AUTOMAKE_TARGETS := dvi pdf ps info html tags ctags mostlyclean maintainer-clean check installcheck installdirs \ - install-pdf install-ps install-info install-html -install-dvi uninstall install-exec install-data + install-pdf install-ps install-info install-html -install-dvi uninstall install-data .PHONY: $(EMPTY_AUTOMAKE_TARGETS) $(EMPTY_AUTOMAKE_TARGETS): |