mkdir -p $base/usr/bin/
cp tools/make/mconfigure $base/usr/bin/
cp tools/make/treecopy $base/usr/bin/
-cp tools/make/make-conffile $base/usr/bin/
+cp tools/make/create-conffiles $base/usr/bin/
mkdir -p $base/usr/share/mbuild/
cp tools/make/rules $base/usr/share/mbuild/
are needed, these files must be also placed in the
.B debian
directory.
-.br
+
A standard copyright file is included. An user defined file can be used by copying it to debian/copyright
in the PAKET.prepare script.
-.br
+
+If files are present to be placed unter /etc a conffiles is creates to avoid changes made by the administrator.
.SH FILES
.TP
fi
cd $1
-mkdir -p DEBIAN
-for files in $(find etc -type f); do
- echo "/$files" >> DEBIAN/conffiles
-done
+if [ -d etc ]
+then
+ mkdir -p DEBIAN
+ for files in $(find etc -type f); do
+ echo "/$files" >> DEBIAN/conffiles
+ done
+fi
# pwd=${pwd,,*}
# echo "pwd=$pwd" >> debian/rules.pre
- echo "building $paket with build $version-$build"
+ echo "building $paket with version/build=$version-$build"
pushd debian >/dev/null
# ./debian -------------------------------------
echo 'arch = ${DEB_HOST_ARCH}' >> debian/rules.pre
echo "BINARY_ARCH = copy ../${paket}_$version-${build}_"'$(arch).deb' >> debian/rules.pre
fi
- if ! [ -f $paket.changelog ]
+ if ! [ -f debian/$paket.changelog ]
then
echo "changelog_source = debian/default.changelog" >> debian/rules.pre
if [ -f debian/default.changelog ]
RSYNC_OPT = -av --exclude="build" --exclude="debian/tmp" --exclude="Packages" --exclude="*Aktuell" --exclude=".*"
std_inst_tgt = debian/tmp/usr/share/doc/$(paket)/copyright debian/tmp/usr/share/doc/$(paket)/README.debian
-changelog_source = $(paket).changelog
+changelog_source = debian/$(paket).changelog
include debian/rules.pre