3 # This file is part of autopkgtest
4 # autopkgtest is a tool for testing Debian binary packages
6 # autopkgtest is Copyright (C) 2006 Canonical Ltd.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 # See the file CREDITS for a full list of credits information (often
23 # installed as /usr/share/doc/autopkgtest/CREDITS).
37 binary binary-indep: checkdir
42 $(MAKE) install-here prefix=debian/$p/usr
43 $(MAKE) -C xen install \
44 pkgname=autopkgtest-xenlvm \
45 prefix=$(topdir)/debian/$(px)/usr \
46 sharedir=$(topdir)/debian/$(px)/usr/share/autopkgtest/xenlvm \
47 etcdir=$(topdir)/debian/$(px)/etc cfg_suffix=''
49 cat CREDITS debian/copyright.suffix \
50 >debian/$p/usr/share/doc/$p/copyright
51 dh_installinit -p $(px) --onlyscripts --name=adtxenlvm -- defaults 19
67 dh_testdir runner/adt-run