[Tkabber-dev] r1848 - trunk/tkabber

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sat Oct 31 17:27:35 MSK 2009


Author: sergei
Date: 2009-10-31 17:27:34 +0300 (Sat, 31 Oct 2009)
New Revision: 1848

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/Makefile
Log:
	* Makefile: Install tkabber-remote script to bin directory, changed
	  tkabber script to just execute /usr/share/tkabber/tkabber.tcl.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2009-10-30 15:50:41 UTC (rev 1847)
+++ trunk/tkabber/ChangeLog	2009-10-31 14:27:34 UTC (rev 1848)
@@ -1,3 +1,8 @@
+2009-10-31  Sergei Golovan  <sgolovan at nes.ru>
+
+	* Makefile: Install tkabber-remote script to bin directory, changed
+	  tkabber script to just execute /usr/share/tkabber/tkabber.tcl.
+
 2009-10-30  Sergei Golovan  <sgolovan at nes.ru>
 
 	* msgs/de.msg: Updated German translation (thanks to Roger Sondermann).

Modified: trunk/tkabber/Makefile
===================================================================
--- trunk/tkabber/Makefile	2009-10-30 15:50:41 UTC (rev 1847)
+++ trunk/tkabber/Makefile	2009-10-31 14:27:34 UTC (rev 1848)
@@ -31,10 +31,15 @@
 install-bin:
 	mkdir -p $(DESTDIR)/$(TKABBERDIR)
 	cp -r *.tcl $(SUBDIRS) $(DESTDIR)/$(TKABBERDIR)
+	chmod 755 $(DESTDIR)/$(TKABBERDIR)/tkabber.tcl
+	chmod 755 $(DESTDIR)/$(TKABBERDIR)/tkabber-remote.tcl
 	mkdir -p $(DESTDIR)/$(BINDIR)
-	echo -e "#!/bin/sh\nexec wish $(TKABBERDIR)/tkabber.tcl -name tkabber \"\$$@\"\n" \
+	echo -e "#!/bin/sh\nexec $(TKABBERDIR)/tkabber.tcl \"$$@\"\n" \
 		>$(DESTDIR)/$(BINDIR)/tkabber
+	echo -e "#!/bin/sh\nexec $(TKABBERDIR)/tkabber-remote.tcl \"$$@\"\n" \
+		>$(DESTDIR)/$(BINDIR)/tkabber-remote
 	chmod 755 $(DESTDIR)/$(BINDIR)/tkabber
+	chmod 755 $(DESTDIR)/$(BINDIR)/tkabber-remote
 
 install-doc: doc
 	mkdir -p $(DESTDIR)/$(DOCDIR)



More information about the Tkabber-dev mailing list