From a7728bb75bd9132c8f13c3131d0b8a0b06357830 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 28 Jul 2003 18:44:06 +0000 Subject: [PATCH] r722: This commit was manufactured by cvs2svn to create tag 'upstream_version_0_35'. --- .foo | 0 debian/debhelper2.substvars | 0 debian/debhelperfoo.substvars | 0 dh_getopt.pl | 57 ----------------------------------- dh_movefiles.1 | 49 ------------------------------ dh_testversion.1 | 51 ------------------------------- dh_testversion.in | 23 -------------- 7 files changed, 180 deletions(-) delete mode 100644 .foo delete mode 100644 debian/debhelper2.substvars delete mode 100644 debian/debhelperfoo.substvars delete mode 100755 dh_getopt.pl delete mode 100644 dh_movefiles.1 delete mode 100644 dh_testversion.1 delete mode 100644 dh_testversion.in diff --git a/.foo b/.foo deleted file mode 100644 index e69de29..0000000 diff --git a/debian/debhelper2.substvars b/debian/debhelper2.substvars deleted file mode 100644 index e69de29..0000000 diff --git a/debian/debhelperfoo.substvars b/debian/debhelperfoo.substvars deleted file mode 100644 index e69de29..0000000 diff --git a/dh_getopt.pl b/dh_getopt.pl deleted file mode 100755 index 4d1d390..0000000 --- a/dh_getopt.pl +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/perl -# -# Because the getopt() program is so horribly broken, I wrote my own argument -# processer that uses the find Getopt::Long module. This is used by all -# debhelper shell scripts. -# -# Joey Hess, GPL copyright 1998. - -BEGIN { push @INC, "debian", "/usr/lib/debhelper" } -use strict; -use Dh_Getopt; - -# This is a tricky (and nasty) bit: override the error() function, which -# comes from Dh_Lib, with one of our own so we print out the list of errors -# to the shell, which can do what it wants with them. -sub Dh_Getopt::error { my $message=shift; - print "DH_PARSE_ERROR='$message'\n"; - exit 1; -} - -# Parse options. -my %options=Dh_Getopt::parseopts(); - -# Change a few lists in %options into strings, -# generate some options that only need to be visible to the -# shell scripts so Dh_Getopt doesn't bother generating. -$options{DOPACKAGES}=join " ",@{$options{DOPACKAGES}}; -if ($#{$options{EXCLUDE}} > -1) { - $options{EXCLUDE_GREP}=join '|', @{$options{EXCLUDE}}; -} -$options{EXCLUDE}=join " ",@{$options{EXCLUDE}}; - -# Check to see if DH_VERBOSE environment variable was set, if so, -# make sure verbose is on. -if (defined $main::ENV{DH_VERBOSE}) { - if ($main::ENV{DH_VERBOSE} ne undef) { - $options{VERBOSE}=1; - } -} - -# Check to see if DH_NO_ACT environment variable was set, if so, -# make sure no act mode is on. -if (defined $main::ENV{DH_NO_ACT}) { - if ($main::ENV{DH_NO_ACT} ne undef) { - $options{NO_ACT}=1; - } -} - -# Now output everything, in a format suitable for a shell to eval it. -foreach (keys(%options)) { - if (defined $options{$_}) { - print "DH_$_='$options{$_}'\n"; - } -} - -# This sets $@ in the shell to whatever arguements remain. -print "set -- @ARGV\n" diff --git a/dh_movefiles.1 b/dh_movefiles.1 deleted file mode 100644 index 45b84a6..0000000 --- a/dh_movefiles.1 +++ /dev/null @@ -1,49 +0,0 @@ -.TH DH_MOVEFILES 1 "" "Debhelper Commands" "Debhelper Commands" -.SH NAME -dh_movefiles \- move files out of debian/tmp into subpackages -.SH SYNOPSIS -.B dh_movefiles -.I "[debhelper options] [--sourcedir=dir] [file ..]" -.SH "DESCRIPTION" -dh_movefiles is a debhelper program that is responsible for moving files out -of debian/tmp or some other directory and into other package build -directories. This may be useful if your package has a Makefile that installs -everything into debian/tmp, and you need to break that up into subpackages. -.P -Files named debian/package.files list the files to be moved, separated by -whitespace. The filenames listed should be relative to debian/tmp/. You can -also list directory names, and the whole directory will be moved. You can -even use wildcards if you like. If you prefer, you can list the files to -move on the command line and this will apply to the first package -dh_movefiles is told to act on. -.P -The files will be moved in a special order: first all normal files, then all -symlinks. This is done because it tends to be a good thing to have symlinks -last in debian packages, particularly in shared library packages. -.SH OPTIONS -.TP -.B debhelper options -See -.BR debhelper (1) -for a list of options common to all debhelper commands. -.TP -.B --sourcedir=dir -Instead of moveing files out of debian/tmp (the default), this option makes -it move files out of some other directory. Since the entire contents of -the sourcedir is moved, specifiying something like --sourcedir=/ is very -unsafe, so to prevent mistakes, the sourcedir must be a relative filename; it -cannot begin with a `/'. -.TP -.B file .. -Lists files to move. The filenames listed should be relative to debian/tmp/. -You can also list directory names, and the whole directory will be moved. You -can even use wildcards if you like. It is an error to list files here unless -you use -p, -i, or -a to tell dh_movefiles which subpackage to put them in. -.SH ENVIRONMENT -See -.BR debhelper (1) -for a list of environment variables that affect all debhelper commands. -.SH "SEE ALSO" -.BR debhelper (1) -.SH AUTHOR -Joey Hess diff --git a/dh_testversion.1 b/dh_testversion.1 deleted file mode 100644 index 19ded26..0000000 --- a/dh_testversion.1 +++ /dev/null @@ -1,51 +0,0 @@ -.TH DH_TESTVERSION 1 "" "Debhelper Commands" "Debhelper Commands" -.SH NAME -dh_testversion \- ensure that the correct version of debhelper is installed -.SH SYNOPSIS -.B dh_testversion [debhelper options] [operator] [version] -.SH "DESCRIPTION" -dh_testversion compares the version of debhelper against the version you -specify, and if the condition is not met, exits with an error message. -.P -You should use this in your debian/rules files if a new debhelper feature is -introduced, and your package requires that feature to build correctly. Use -debhelper's changelog to figure out the version you need. -.P -Be sure not to overuse dh_testversion. If debhelper version 9.5 -introduces a new dh_autofixbugs command, and your package uses it, then if -someone tries to build it with debhelper 1.0, the build will fail anyway when -dh_autofixbugs cannot be found, so there is no need for you to use -dh_testversion. -.SH OPTIONS -.TP -.B debhelper options -See -.BR debhelper (1) -for a list of options common to all debhelper commands. -.TP -.B operator -Optional comparison operator used in comparing the versions. If not -specified, ">=" is used. For descriptions of the comparison operators, see -dpkg --help. -.TP -.B version -Version number to compare against the current version of debhelper. If not -specified, dh_testversion does nothing. -.SH EXAMPLES -.TP -.I dh_testversion 1.0 -Make sure debhelper version 1.0 or higher is installed. -.TP -.I dh_testversion ge 1.0 -Another way to make sure debhelper version 1.0 or higher is installed. -.TP -.I dh_testversion lt 1.0 -Make sure a version of debhelper less than version 1.0 is installed. -.SH ENVIRONMENT -See -.BR debhelper (1) -for a list of environment variables that affect all debhelper commands. -.SH "SEE ALSO" -.BR debhelper (1) -.SH AUTHOR -Joey Hess diff --git a/dh_testversion.in b/dh_testversion.in deleted file mode 100644 index 9e2f14e..0000000 --- a/dh_testversion.in +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -e -# -# Debhelper version check. - -# Current version of debhelper is: -DH_VERSION=#DEBHELPER_VERSION# - -PATH=debian:$PATH:/usr/lib/debhelper -. dh_lib - -if [ "$1" -a "$2" ]; then - compare=$1 - ver=$2 -elif [ "$1" ]; then - compare=">=" - ver=$1 -fi - -if [ "$compare" -a "$ver" ] ; then - if ! dpkg --compare-versions $DH_VERSION $compare $ver; then - error "debhelper version $DH_VERSION is installed, but a version $compare $ver is needed to build this package." - fi -fi -- 2.39.5