This reverts commit 0cb518bc5af166b9a221bc5780f323a563158779 and fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595883 The changelog MUST not be generated during the Debian package build as it relies on a checked out copy of the VCS repository -- what the Debian package isn't. The Debian (and any other packaging) gets the changelog from our tar.gz balls. We will have to fix the issue, which the reverted commit tried to fix, differently.
56 lines
1003 B
Makefile
Executable File
56 lines
1003 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
|
|
configure: configure-stamp
|
|
configure-stamp:
|
|
dh_testdir
|
|
touch configure-stamp
|
|
|
|
|
|
build: build-stamp
|
|
|
|
build-stamp: configure-stamp
|
|
dh_testdir
|
|
touch build-stamp
|
|
|
|
clean:
|
|
dh_testdir
|
|
dh_testroot
|
|
make clean
|
|
rm -f build-stamp configure-stamp
|
|
dh_clean
|
|
|
|
install: build
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_prep
|
|
|
|
make manpages
|
|
make install prefix=`pwd`/debian/xen-tools
|
|
|
|
dh_installdirs
|
|
|
|
# Build architecture-independent files here.
|
|
binary-indep: build install
|
|
# We have nothing to do by default.
|
|
|
|
# Build architecture-dependent files here.
|
|
binary-indep: build install
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_install
|
|
dh_installexamples debian/examples/setup-kernel-initrd debian/examples/update-modules
|
|
dh_installchangelogs ChangeLog
|
|
dh_installdocs
|
|
dh_compress
|
|
dh_fixperms
|
|
dh_installdeb
|
|
dh_gencontrol
|
|
dh_md5sums
|
|
dh_builddeb
|
|
|
|
binary: binary-indep binary-arch
|
|
.PHONY: build clean binary-indep binary-arch binary install configure
|