File: Do-not-generate-wrapper-scripts-for-usr-bin.patch

package info (click to toggle)
tkabber 1.1.2%2B20250723-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,908 kB
  • sloc: tcl: 60,692; xml: 3,702; sh: 1,475; makefile: 98
file content (27 lines) | stat: -rw-r--r-- 967 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Konstantin Khomoutov <flatworm@users.sourceforge.net>
Date: Mon, 20 Oct 2014 21:05:10 +0400
Subject: Do not generate wrapper scripts for /usr/bin

We'll be providing our own.
---
 Makefile | 9 ---------
 1 file changed, 9 deletions(-)

--- a/Makefile
+++ b/Makefile
@@ -31,15 +31,6 @@
 install-bin:
 	install -d $(DESTDIR)$(TKABBERDIR)
 	cp -dr --no-preserve=ownership *.tcl $(SUBDIRS) $(DESTDIR)$(TKABBERDIR)
-	chmod 755 $(DESTDIR)$(TKABBERDIR)/tkabber.tcl
-	chmod 755 $(DESTDIR)$(TKABBERDIR)/tkabber-remote.tcl
-	install -d $(DESTDIR)$(BINDIR)
-	echo "#!/bin/sh" >$(DESTDIR)$(BINDIR)/tkabber
-	echo "exec $(TKABBERDIR)/tkabber.tcl \"\$$@\"" >>$(DESTDIR)$(BINDIR)/tkabber
-	echo "#!/bin/sh" >$(DESTDIR)$(BINDIR)/tkabber-remote
-	echo "exec $(TKABBERDIR)/tkabber-remote.tcl \"\$$@\"" >>$(DESTDIR)$(BINDIR)/tkabber-remote
-	chmod 755 $(DESTDIR)$(BINDIR)/tkabber
-	chmod 755 $(DESTDIR)$(BINDIR)/tkabber-remote
 
 install-doc: doc
 	install -d $(DESTDIR)$(DOCDIR)