Group :: Desenvolvimento/Tcl
RPM: tcl-tdom
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: 0002-ALT-install-test-targets-fixed.patch
Download
Download
From 37b7039f05344df4e7af406243aac8ab5fb241f6 Mon Sep 17 00:00:00 2001
From: Sergey Bolshakov <sbolshakov@altlinux.org>
Date: Sat, 23 Feb 2008 18:09:27 +0300
Subject: [PATCH 2/3] ALT install & test targets fixed
---
tdom/Makefile.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tdom/Makefile.in b/tdom/Makefile.in
index 742ee8e..86bdbcc 100644
--- a/tdom/Makefile.in
+++ b/tdom/Makefile.in
@@ -260,7 +260,7 @@ install-doc: doc
test: binaries libraries
@cp $(srcdir)/lib/tdom.tcl .
- $(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS)
+ @echo "load @PKG_LIB_FILE@; source $(srcdir)/tests/all.tcl" |$(TCLSH) $(TESTFLAGS)
shell: binaries libraries
@$(TCLSH) $(SCRIPT)
@@ -422,7 +422,7 @@ distclean: clean
#========================================================================
install-lib-binaries: binaries
- @$(INSTALL_DATA_DIR) $(DESTDIR)$(pkglibdir)
+ @$(INSTALL_DATA_DIR) $(DESTDIR)$(pkglibdir) $(DESTDIR)$(pkgdatadir)
@list='$(lib_BINARIES)'; for p in $$list; do \
if test -f $$p; then \
if test "x$$stub" = "xstub"; then \
@@ -450,8 +450,8 @@ install-lib-binaries: binaries
@list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
if test -f $(srcdir)/$$p; then \
destp=`basename $$p`; \
- echo " Install $$destp $(DESTDIR)$(pkglibdir)/$$destp"; \
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkglibdir)/$$destp; \
+ echo " Install $$destp $(DESTDIR)$(pkgdatadir)/$$destp"; \
+ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$destp; \
fi; \
done
@if test "x$(SHARED_BUILD)" = "x1"; then \
--
2.21.0