75cbdb7fe8
OBS-URL: https://build.opensuse.org/request/show/225851 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/jimtcl?expand=0&rev=2
38 lines
1.6 KiB
Diff
38 lines
1.6 KiB
Diff
Index: Makefile.in
|
|
===================================================================
|
|
--- Makefile.in.orig
|
|
+++ Makefile.in
|
|
@@ -72,8 +72,9 @@ docs: Tcl.html
|
|
|
|
@if JIM_DOCS
|
|
install-docs: docs
|
|
- $(INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/doc/jim
|
|
- $(INSTALL_DATA) Tcl.html $(DESTDIR)$(prefix)/doc/jim
|
|
+ $(INSTALL_DATA_DIR) $(DESTDIR)@datadir@/doc/jimtcl
|
|
+ $(INSTALL_DATA) Tcl.html $(DESTDIR)@datadir@/doc/jimtcl
|
|
+ $(INSTALL_DATA) @srcdir@/README.extensions @C_EXT_SHOBJS@ @TCL_EXTS@ $(DESTDIR)@datadir@/doc/jimtcl
|
|
@else
|
|
install-docs:
|
|
@endif
|
|
@@ -85,7 +86,6 @@ $(JIMSH): $(LIBJIM) jimsh.o initjimsh.o
|
|
install: all @TCL_EXTS@ install-exec install-docs
|
|
$(INSTALL_DATA_DIR) $(DESTDIR)@libdir@/jim
|
|
$(INSTALL_DATA) $(LIBJIM) $(DESTDIR)@libdir@
|
|
- $(INSTALL_DATA) @srcdir@/README.extensions @C_EXT_SHOBJS@ $(DESTDIR)@libdir@/jim
|
|
for i in @TCL_EXTS@; do $(INSTALL_DATA) @srcdir@/$$i $(DESTDIR)@libdir@/jim; done
|
|
$(INSTALL_DATA_DIR) $(DESTDIR)@includedir@
|
|
$(INSTALL_DATA) @srcdir@/jim.h @srcdir@/jim-eventloop.h @srcdir@/jim-signal.h \
|
|
@@ -102,9 +102,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:
|