X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=debian%2Frules;h=f3918a45f104bd6a7f8b19c3f00e2016b271f7a1;hb=80c007832d90b84517736b733b3d1af9081e55ad;hp=a26fcc19bcbfd7166ebe54e975130e5c9170e01a;hpb=c01a2e8c981d145455de63653123a7b52756a9b5;p=debian%2Famanda diff --git a/debian/rules b/debian/rules index a26fcc1..f3918a4 100755 --- a/debian/rules +++ b/debian/rules @@ -42,7 +42,8 @@ configure-stamp: --with-ssh-security \ --with-bsdtcp-security \ --with-bsdudp-security \ - --without-ipv6 + --without-ipv6 \ + --enable-s3-device touch missing touch configure-stamp @@ -53,11 +54,6 @@ build-stamp: configure-stamp MAILER=/usr/bin/mail $(MAKE) CFLAGS="-O2 -g -Wall \ -DAMANDATES_FILE='\"/var/lib/amanda/amandates\"' \ -DIGNORE_TAR_ERRORS " -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) -ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) - $(MAKE) check -endif -endif touch build-stamp clean: @@ -82,6 +78,7 @@ binary-arch: build dh_clean -k dh_installdirs -a make install DESTDIR=$(r) + sed -i "/dependency_libs/ s/'.*'/''/" `find $(r)/usr/lib/amanda/ -name '*.la'` install -m 644 debian/amandahosts $(r)/etc/amandahosts dh_installdocs -a dh_installexamples -a @@ -97,7 +94,6 @@ binary-arch: build dh_compress -a dh_movefiles -a --sourcedir=debian/amanda-common rm -r $(r)/usr/share/amanda - rm $(s)/usr/lib/amanda/chg-mtx dh_fixperms -av # fix perms manually chown -R backup:backup debian/*/var/lib/* @@ -131,13 +127,13 @@ binary-arch: build $(s)/usr/sbin/amcheck install -o root -g root -m 0644 debian/amanda-client.lintian \ $(c)/usr/share/lintian/overrides/amanda-client -# install -o root -g root -m 0644 debian/amanda-common.lintian \ -# $(r)/usr/share/lintian/overrides/amanda-common + install -o root -g root -m 0644 debian/amanda-common.lintian \ + $(r)/usr/share/lintian/overrides/amanda-common install -o root -g root -m 0644 debian/amanda-server.lintian \ $(s)/usr/share/lintian/overrides/amanda-server dh_makeshlibs -pamanda-common --noscripts dh_installdeb -a - dh_perl -a + dh_perl -a usr/lib/amanda/perl dh_shlibdeps -a -l"debian/amanda-common/usr/lib:debian/amanda-client/usr/lib:debian/amanda-server/usr/lib" # strip out the non-versioned amanda-common references, we need # the versioned ones in the control file and dupes are ugly...