r7942: Debian packages updates and fixes. Use dh_install for diverting
authorJelmer Vernooij <jelmer@samba.org>
Mon, 27 Jun 2005 10:00:43 +0000 (10:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:18:53 +0000 (13:18 -0500)
files to different packages.
(This used to be commit da706b14ab9391cc8af1789f3533a94ab935150f)

packaging/debian/changelog
packaging/debian/control
packaging/debian/rules
packaging/debian/samba4-common.conffiles
packaging/debian/samba4-common.install [new file with mode: 0644]
packaging/debian/smb.conf [new file with mode: 0644]

index c7022ae4a6d56984ee9b5de892c6eafaf82c7e0b..2db1fa1bc5ee57afa86df727fb21d98e311dc657 100644 (file)
@@ -1,3 +1,9 @@
+samba4 (3.9.0-SVN-build-7941-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Jelmer Vernooij <jelmer@rhonwyn.lan.vernstok.nl>  Mon, 27 Jun 2005 11:25:57 +0200
+
 samba4 (3.9.0-SVN-build-6710-1) unstable; urgency=low
 
   * Newer upstream version
index 14bdbc60083566705c9230ea0db06f1285b35758..6b872d424d62e119e18762163eac267c6fdfb6e8 100644 (file)
@@ -12,8 +12,7 @@ Description: Samba4
  Foobar
 
 Package: samba4-common
-Architecture: any
-Depends: ${shlibs:Depends}
+Architecture: all
 Description: Common samba files
  Files common for all programs in Samba
 
index 7b303f728efd46b313d9d1a9eb454a23ff6cc3f2..2d0505d22510e1250296a2cb3713550ff40a051a 100755 (executable)
@@ -3,7 +3,7 @@
 # Made with the aid of debmake, by Christoph Lameter,
 # based on the sample debian/rules file for GNU hello by Ian Jackson.
 
-SOURCEPATH=../../source
+SOURCEPATH=../source
 
 package=samba4
 
@@ -27,18 +27,21 @@ configure:
 
 build: configure
        dh_testdir
-       cd $(SOURCEPATH) && $(MAKE) proto all
+       $(MAKE) -C $(SOURCEPATH) proto 
+       -$(MAKE) -C $(SOURCEPATH) pch
+       $(MAKE) -C $(SOURCEPATH) all
        touch $@
 
 clean:
        dh_testdir
        dh_clean
        rm -f build
-       -cd $(SOURCEPATH) && $(MAKE) clean
+       -$(MAKE) -C $(SOURCEPATH) clean
 
 binary-indep: build install
        dh_testdir -i
        dh_testroot -i
+       dh_install -i --sourcedir=debian/tmp
        dh_installdocs -i
        dh_installchangelogs -i
        dh_compress -i
@@ -55,11 +58,13 @@ binary-indep: build install
 install: build
        dh_clean -k
        dh_installdirs
-       $(MAKE) -C $(SOURCEPATH) install DESTDIR=`pwd`/../packaging/debian/tmp
+       $(MAKE) -C $(SOURCEPATH) install DESTDIR=$(CURDIR)/debian/tmp
+       cp debian/smb.conf $(CURDIR)/debian/tmp/etc/samba4
 
 binary-arch: build install
        dh_testdir -a
        dh_testroot -a
+       dh_install -a --sourcedir=debian/tmp
        dh_installdocs -a
        dh_installman -a
        dh_strip -a
index 69f3994af2bdb60d5f5e259efc8e97e97b256f1c..aa61ab61e6b28f0f05ff0d5dccb241e5bd167b23 100644 (file)
@@ -1 +1 @@
-etc/samba4/smb.conf
+/etc/samba4/smb.conf
diff --git a/packaging/debian/samba4-common.install b/packaging/debian/samba4-common.install
new file mode 100644 (file)
index 0000000..9406328
--- /dev/null
@@ -0,0 +1,2 @@
+etc/samba4
+etc/samba4/smb.conf
diff --git a/packaging/debian/smb.conf b/packaging/debian/smb.conf
new file mode 100644 (file)
index 0000000..f7e3060
--- /dev/null
@@ -0,0 +1,2 @@
+[global]
+# Example configuration file