+debhelper (0.99.1) unstable; urgency=low
+
+ * dh_installcron: now supports /etc/cron.d (#25112).
+
+ -- Joey Hess <joeyh@master.debian.org> Mon, 27 Jul 1998 20:18:47 -0700
+
debhelper (0.99) unstable; urgency=low
* !!!! WARNING: Debhelper (specifically dh_compress) is broken with
error "debian/tmp does not exist"
fi
- # debian/files has a different purpose, so ignore it.
+ tomove=""
+
+ # debian/files has a different purpose, so ignore it.
if [ "$files" -a "$files" != "debian/files" ]; then
-# if [ "$TMP" = "debian/tmp" ]; then
-# error "I was asked to move some files from debian/tmp to debian/tmp."
-# fi
+ tomove=`cat $files`
+ fi
+
+ if [ \( "$PACKAGE" = "$DH_FIRSTPACKAGE" -o "$DH_PARAMS_ALL" \) \
+ -a "$*" ]; then
+ tomove="$* $tomove"
+ fi
+ if [ "$tomove" -a "$PACKAGE" = "$MAINPACKAGE" ]; then
+ error "I was asked to move files from debian/tmp to debian/tmp."
+ fi
+
+ if [ "$tomove" ]; then
if [ ! -d "$TMP" ]; then
doit "install -d $TMP"
fi
- files=`pwd`/$files
-
# Order the files. First all real files, then symlinks.
# Putting symlinks last is a nice thing to do for library
# packages and doesn't affect much of anything else.
# The filelist is used, so even very weird filenames can be
# moved.
doit "rm -f movelist"
- for i in `(cd debian/tmp ; echo \`cat $files\`)`; do
+ for i in `(cd debian/tmp; echo $tomove)`; do
complex_doit "(cd debian/tmp ; find $i ! -type d -and ! -type l -print) >> movelist"
done
- for i in `(cd debian/tmp ; echo \`cat $files\`)`; do
+ for i in `(cd debian/tmp; echo $tomove)`; do
complex_doit "(cd debian/tmp ; find $i ! -type d -and -type l -print) >> movelist"
done
complex_doit "(cd debian/tmp;tar --create --remove-files --files-from=../../movelist --file -) | (cd $TMP;tar xpf -)"
dh_movefiles \- moves files out of debian/tmp into subpackages
.SH SYNOPSIS
.B dh_movefiles
-.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir] [file ..]"
.SH "DESCRIPTION"
dh_movefiles is a debhelper program that is responsible for moving files out
of debian/tmp and into other package build directories. This may be useful
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.
+even use wildcards if you like. If you prefer, you can list the files to
+move on the command line. However, this will only work if the first package
+dh_movefiles is told to act on is a subpackage (ie, via -p).
.P
The files will be moved in a special order: first all normal files, then all
symlinks. This is done becuase it tends to be a good thing to have symlinks
.TP
.B \-Ptmpdir, \--tmpdir=tmpdir
Use "tmpdir" for package build directory.
+.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 NOTES
The
.B \-a