ca7c225e80
please review - jimtcl - embeddable tcl interpreter OBS-URL: https://build.opensuse.org/request/show/182993 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/jimtcl?expand=0&rev=1
38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
Index: Makefile.in
|
|
===================================================================
|
|
--- Makefile.in.orig
|
|
+++ Makefile.in
|
|
@@ -63,8 +63,9 @@ docs: Tcl.html
|
|
|
|
@if JIM_DOCS
|
|
install-docs: docs
|
|
- mkdir -p $(DESTDIR)$(prefix)/doc/jim
|
|
- cp Tcl.html $(DESTDIR)$(prefix)/doc/jim
|
|
+ mkdir -p $(DESTDIR)@datadir@/doc/jimtcl
|
|
+ cp @srcdir@/README.extensions @C_EXT_SHOBJS@ @TCL_EXTS@ $(DESTDIR)@datadir@/doc/jimtcl
|
|
+ cp Tcl.html $(DESTDIR)@datadir@/doc/jimtcl
|
|
@else
|
|
install-docs:
|
|
@endif
|
|
@@ -76,7 +77,6 @@ $(JIMSH): $(LIBJIM) jimsh.o initjimsh.o
|
|
install: all @TCL_EXTS@ install-exec install-docs
|
|
mkdir -p $(DESTDIR)@libdir@/jim
|
|
cp $(LIBJIM) $(DESTDIR)@libdir@
|
|
- cp @srcdir@/README.extensions @C_EXT_SHOBJS@ $(DESTDIR)@libdir@/jim
|
|
for i in @TCL_EXTS@; do cp @srcdir@/$$i $(DESTDIR)@libdir@/jim; done
|
|
mkdir -p $(DESTDIR)@includedir@
|
|
cp @srcdir@/jim.h @srcdir@/jim-eventloop.h @srcdir@/jim-signal.h \
|
|
@@ -93,9 +93,10 @@ uninstall:
|
|
rm -f $(DESTDIR)@bindir@/$(JIMSH)
|
|
rm -f $(DESTDIR)@bindir@/build-jim-ext
|
|
rm -f $(DESTDIR)@libdir@/$(LIBJIM)
|
|
- for i in README.extensions @C_EXT_SHOBJS@ @TCL_EXTS@; do rm -f $(DESTDIR)@libdir@/jim/$$i; done
|
|
+ for i in @C_EXT_SHOBJS@ @TCL_EXTS@; do rm -f $(DESTDIR)@libdir@/jim/$$i; done
|
|
rm -f $(DESTDIR)@includedir@/jim*.h
|
|
- rm -f $(DESTDIR)@datadir@/doc/jim/Tcl.html
|
|
+ rm -f $(DESTDIR)@datadir@/doc/jimtcl/README.extensions
|
|
+ rm -f $(DESTDIR)@datadir@/doc/jimtcl/Tcl.html
|
|
@else
|
|
install install-exec: all
|
|
uninstall:
|