Description: debianization Meant to maintain a minimal debian/rules, to fix warnings, to address Debian specific stuff in general. Origin: debian Forwarded: not-needed Author: Jerome Benoit Last-Update: 2020-05-06 --- a/AutoConf/makefile.in +++ b/AutoConf/makefile.in @@ -48,7 +48,7 @@ # as the final location. This seems useful for building # RPMs on Linux. -INSTALLPREFIX = +INSTALLPREFIX = $(DESTDIR) # ------------------------------------------------------- # Destination directory for make install @@ -73,7 +73,7 @@ # are installed plus a final BibTool. # -LIBDIR = @libdir@/BibTool +LIBDIR = @datadir@/bibtool #------------------------------------------------------- # Destination directory for make install.include @@ -100,7 +100,7 @@ # optimizer is turned on. # -CFLAGS = @CFLAGS@ +CFLAGS = -Wall @CFLAGS@ -Wno-misleading-indentation -Wno-unused-function # CFLAGS = -O # GNU C # CFLAGS = -g -Wall @@ -171,7 +171,7 @@ # already existent. If your install does not support the # -d option you can try to use mkdir instead. -INSTALL_DIR = ./mkdirchain +INSTALL_DIR = @INSTALL@ -d # ------------------------------------------------------- # The ranlib program or : for nothing. --- a/doc/make_version.pl +++ b/doc/make_version.pl @@ -46,7 +46,7 @@ # my $verbose = 0; -my $LIBDIR = '/usr/local/lib/BibTool'; +my $LIBDIR = '/usr/share/bibtool'; use Getopt::Long; GetOptions("h|help" => \&usage, --- a/Perl/bibtool.pl +++ b/Perl/bibtool.pl @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/bin/perl ##***************************************************************************** ## ## This file is part of BibTool. --- a/Tcl/bibtool.tcl +++ b/Tcl/bibtool.tcl @@ -1,4 +1,4 @@ -#!/usr/local/bin/tclsh +#!/usr/bin/tclsh ##***************************************************************************** ## ## This file is part of BibTool. --- a/test/lib/BUnit.pm +++ b/test/lib/BUnit.pm @@ -98,7 +98,7 @@ # Variable: $BIBTOOL # Description: # -our $BIBTOOL = $ENV{'BIBTOOL_PRG'} || '../bibtool'; +our $BIBTOOL = $ENV{'BIBTOOL_PRG'} || '/usr/bin/bibtool'; #------------------------------------------------------------------------------ # Variable: $name_prefix