File: 02-extconf.rb.dpatch

package info (click to toggle)
libtioga-ruby 1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,460 kB
  • ctags: 3,986
  • sloc: ansic: 38,451; ruby: 16,774; sh: 172; makefile: 111
file content (46 lines) | stat: -rw-r--r-- 1,552 bytes parent folder | download | duplicates (2)
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
42
43
44
45
46
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02-extconf.rb.dpatch by  <vincent.fourmond@9online.fr>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Remove the installation of include files, as they do more 
## DP: bad than good.

@DPATCH@
diff -urNad tioga-1.2.0~/split/extconf.rb tioga-1.2.0/split/extconf.rb
--- tioga-1.2.0~/split/extconf.rb	2006-10-04 21:19:15.000000000 +0200
+++ tioga-1.2.0/split/extconf.rb	2006-10-04 21:19:24.000000000 +0200
@@ -5,22 +5,22 @@
 # install Dvector include and library files into base dirs,
 # and builds Dvector.so
 setup_dir("Dvector", "Dobjects", 
-          "Dobjects/Dvector", "") do |l,b,i|
+          "Dobjects/Dvector") do |l,b,i|
   b.add_sources("symbols.c")
 end
 # the same for Dtable
 setup_dir("Dtable", "Dobjects", 
-          "Dobjects/Dtable", "") do |l,b,i|
+          "Dobjects/Dtable") do |l,b,i|
   b.add_sources("symbols.c")
 end
 
-setup_dir("Flate", "", "Flate", "") do |l,b,i|
+setup_dir("Flate", "", "Flate") do |l,b,i|
   b.add_sources("symbols.c")
 end
 
 
 setup_dir("Function", "Dobjects", 
-          "Dobjects/Function", "") do |l,b,i|
+          "Dobjects/Function") do |l,b,i|
   b.add_sources("symbols.c")
 end
 
@@ -28,6 +28,7 @@
 # We declare Tioga by hand, as an automatic generation would not
 # take lib/TexPreamble.rb into accound (missing).
 declare_library("Tioga", 
+                "Tioga/lib/tioga.rb",
                 "Tioga/lib/ColorConstants.rb",
                 "Tioga/lib/FigMkr.rb",
                 "Tioga/lib/FigureConstants.rb",