Imported Upstream version 2.6.0p2
[debian/amanda] / packaging / deb / rules
index 511e3f71d393b49b9ef62d9a7e5e1beb1d764765..bae37a02d27424c654a7cd569048c6ee81d47849 100755 (executable)
@@ -8,7 +8,7 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-AMVER=2.6.0p1
+AMVER=2.6.0p2
 
 # These are variables that the user can override.  They get used in various
 # places during configure, build, and install.
@@ -81,6 +81,13 @@ build-stamp: /sbin/dump /usr/bin/smbclient
                --enable-s3-device \
                --disable-installperms
        touch missing
+       # There's probably a better way to do this.  Preinst and postrm are the
+       # same for client and server, but we leave room for differences by just
+       # appending here.
+       cat $(shell pwd)/debian/preinst >> $(shell pwd)/debian/amanda-backup-client.preinst
+       cat $(shell pwd)/debian/preinst >> $(shell pwd)/debian/amanda-backup-server.preinst
+       cat $(shell pwd)/debian/postrm >> $(shell pwd)/debian/amanda-backup-client.postrm
+       cat $(shell pwd)/debian/postrm >> $(shell pwd)/debian/amanda-backup-server.postrm
        make 
        touch build-stamp