| 1 |
Description: debianization |
| 2 |
Meant to maintain a minimal debian/rules, to fix warnings, |
| 3 |
to address Debian specific stuff in general. |
| 4 |
Origin: debian |
| 5 |
Forwarded: not-needed |
| 6 |
Author: Jerome Benoit <[email protected]> |
| 7 |
Last-Update: 2020-05-06 |
| 8 |
|
| 9 |
--- a/AutoConf/makefile.in |
| 10 |
+++ b/AutoConf/makefile.in |
| 11 |
@@ -48,7 +48,7 @@ |
| 12 |
# as the final location. This seems useful for building |
| 13 |
# RPMs on Linux. |
| 14 |
|
| 15 |
|
| 16 |
+INSTALLPREFIX = $(DESTDIR) |
| 17 |
|
| 18 |
# ------------------------------------------------------- |
| 19 |
# Destination directory for make install |
| 20 |
@@ -73,7 +73,7 @@ |
| 21 |
# are installed plus a final BibTool. |
| 22 |
# |
| 23 |
|
| 24 |
|
| 25 |
+LIBDIR = @datadir@/bibtool |
| 26 |
|
| 27 |
#------------------------------------------------------- |
| 28 |
# Destination directory for make install.include |
| 29 |
@@ -100,7 +100,7 @@ |
| 30 |
# optimizer is turned on. |
| 31 |
# |
| 32 |
|
| 33 |
|
| 34 |
+CFLAGS = -Wall @CFLAGS@ -Wno-misleading-indentation -Wno-unused-function |
| 35 |
# CFLAGS = -O |
| 36 |
# GNU C |
| 37 |
# CFLAGS = -g -Wall |
| 38 |
@@ -171,7 +171,7 @@ |
| 39 |
# already existent. If your install does not support the |
| 40 |
# -d option you can try to use mkdir instead. |
| 41 |
|
| 42 |
|
| 43 |
+INSTALL_DIR = @INSTALL@ -d |
| 44 |
|
| 45 |
# ------------------------------------------------------- |
| 46 |
# The ranlib program or : for nothing. |
| 47 |
--- a/doc/make_version.pl |
| 48 |
+++ b/doc/make_version.pl |
| 49 |
@@ -46,7 +46,7 @@ |
| 50 |
# |
| 51 |
my $verbose = 0; |
| 52 |
|
| 53 |
|
| 54 |
+my $LIBDIR = '/usr/share/bibtool'; |
| 55 |
|
| 56 |
use Getopt::Long; |
| 57 |
GetOptions("h|help" => \&usage, |
| 58 |
--- a/Perl/bibtool.pl |
| 59 |
+++ b/Perl/bibtool.pl |
| 60 |
@@ -1,4 +1,4 @@ |
| 61 |
|
| 62 |
+#!/usr/bin/perl |
| 63 |
##***************************************************************************** |
| 64 |
## |
| 65 |
## This file is part of BibTool. |
| 66 |
--- a/Tcl/bibtool.tcl |
| 67 |
+++ b/Tcl/bibtool.tcl |
| 68 |
@@ -1,4 +1,4 @@ |
| 69 |
|
| 70 |
+#!/usr/bin/tclsh |
| 71 |
##***************************************************************************** |
| 72 |
## |
| 73 |
## This file is part of BibTool. |
| 74 |
--- a/test/lib/BUnit.pm |
| 75 |
+++ b/test/lib/BUnit.pm |
| 76 |
@@ -98,7 +98,7 @@ |
| 77 |
# Variable: $BIBTOOL |
| 78 |
# Description: |
| 79 |
# |
| 80 |
|
| 81 |
+our $BIBTOOL = $ENV{'BIBTOOL_PRG'} || '/usr/bin/bibtool'; |
| 82 |
|
| 83 |
#------------------------------------------------------------------------------ |
| 84 |
# Variable: $name_prefix |