The upstream changelog is generated during the upstream release process, but expected when building the binary .debs. Make its inclusion optional in the binary .debs.
57 lines
1.0 KiB
Makefile
Executable File
57 lines
1.0 KiB
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-arch build-indep
|
|
build-arch: build-stamp
|
|
build-indep: build-stamp
|
|
build-stamp: configure-stamp
|
|
dh_testdir
|
|
touch build-stamp
|
|
|
|
clean:
|
|
dh_testdir
|
|
dh_testroot
|
|
make clean
|
|
dh_clean
|
|
|
|
install: build
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_prep
|
|
|
|
dh_auto_test
|
|
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
|
|
[ ! -e ChangeLog ] || 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
|