File: selective_tcl_copy.patch

package info (click to toggle)
libapache2-mod-rivet 3.1.1-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 5,716 kB
  • sloc: xml: 8,442; tcl: 7,199; ansic: 6,727; sh: 4,983; makefile: 261; sql: 91; lisp: 78
file content (41 lines) | stat: -rw-r--r-- 2,981 bytes parent folder | download | duplicates (3)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Description: Copy to /usr/lib/tcltk/rivet3.0 only Tcl files
 Makefile.ac copyies the whole directory tree in rivet/packages to the final
install destination. There are files not meant to go there (README) and 
also examples or SQL file needed to create tables at the installation stage
Author: Massimo Manghi <mxmanghi@apache.org>
Origin: other
Last-Update: 2018-09-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,21 +58,21 @@
 install-packages:
 	echo 'running target install-packages ($(RIVETLIB_DESTDIR))'
 	$(mkinstalldirs) $(RIVET_PACKAGES)/asciiglyphs
-	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/asciiglyphs/*) $(RIVET_PACKAGES)/asciiglyphs/
+	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/asciiglyphs/*.tcl) $(RIVET_PACKAGES)/asciiglyphs/
 	$(mkinstalldirs) $(RIVET_PACKAGES)/calendar
-	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/calendar/*) $(RIVET_PACKAGES)/calendar/
+	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/calendar/*.tcl) $(RIVET_PACKAGES)/calendar/
 	$(mkinstalldirs) $(RIVET_PACKAGES)/dio
-	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/dio/*) $(RIVET_PACKAGES)/dio/
+	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/dio/*.tcl) $(RIVET_PACKAGES)/dio/
 	$(mkinstalldirs) $(RIVET_PACKAGES)/entities
-	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/entities/*) $(RIVET_PACKAGES)/entities/
+	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/entities/*.tcl) $(RIVET_PACKAGES)/entities/
 	$(mkinstalldirs) $(RIVET_PACKAGES)/form
-	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/form/*) $(RIVET_PACKAGES)/form/
+	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/form/*.tcl) $(RIVET_PACKAGES)/form/
 	$(mkinstalldirs) $(RIVET_PACKAGES)/formbroker
-	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/formbroker/*) $(RIVET_PACKAGES)/formbroker/
+	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/formbroker/*.tcl) $(RIVET_PACKAGES)/formbroker/
 	$(mkinstalldirs) $(RIVET_PACKAGES)/session
-	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/session/*) $(RIVET_PACKAGES)/session/
+	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/session/*.tcl) $(RIVET_PACKAGES)/session/
 	$(mkinstalldirs) $(RIVET_PACKAGES)/tclrivet
-	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/tclrivet/*) $(RIVET_PACKAGES)/tclrivet/
+	$(install_sh) -C -m 644 $(shell /bin/ls $(srcdir)/rivet/packages/tclrivet/*.tcl) $(RIVET_PACKAGES)/tclrivet/
 	-(  cd  $(RIVETLIB_DESTDIR); rm -f *.la; \
 	    echo 'eval file delete [glob [file join packages * pkgIndex.tcl]] pkgIndex.tcl' | @TCLSH_PROG@ ; \
 	    echo 'eval pkg_mkIndex -verbose [pwd] init.tcl [glob [file join packages * *.tcl] [file join $(RIVET_LIBS_ARCH) *[info sharedlibextension]]]' | @TCLSH_PROG@ ; )