diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index b44bccd81..47f4a73e7 100755 --- a/debian/rules +++ b/debian/rules @@ -71,12 +71,16 @@ ifeq (,$(findstring optimize,$(DEB_BUILD_OPTIONS))) endif # --mandir - remove after etch released (autoconf >= 2.59c gets it right) -CONFIGURE_FLAGS := --prefix=/usr \ +CONFIGURE_FLAGS := \ + --build $(DEB_BUILD_GNU_TYPE) \ + --host $(DEB_HOST_GNU_TYPE) \ + --prefix=/usr \ --mandir=\$${prefix}/share/man \ --with-external-libmad \ --with-external-a52dec \ --with-external-libdts \ --with-external-ffmpeg \ + --with-external-libmpcdec \ --with-freetype \ --with-wavpack \ --enable-ipv6 \ @@ -98,7 +102,7 @@ endif touch configure-stamp build: configure-stamp build-stamp -build-stamp: +build-stamp: configure-stamp dh_testdir $(MAKE) -j $(NJOBS) touch build-stamp @@ -141,6 +145,8 @@ binary-arch: build install mv debian/tmp/usr/share/doc/xine-lib debian/tmp/usr/share/doc/libxine${major} # build libxine${major} package by moving files from libxine-dev dh_install --autodest --sourcedir=debian/tmp --list-missing + install -m755 debian/dh_xine debian/libxine-dev/usr/bin + dh_installman -plibxine-dev debian/dh_xine.1 dh_installdocs dh_installchangelogs -k ChangeLog dh_link |