X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=4beca8ba39c2760eb680f6ad0e14e53f299bdd69;hb=daae7d02155bc650acf5f49f2eeee15817bd98b8;hp=b78a128e60240655cf3885ebc16583884cc42f2d;hpb=73e997541f0295ae098403fdc1001260539599db;p=autopkgtest.git diff --git a/Makefile b/Makefile index b78a128..4beca8b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -# This file is part of autodebtest -# autodebtest is a tool for testing Debian binary packages +# This file is part of autopkgtest +# autopkgtest is a tool for testing Debian binary packages # -# autodebtest is Copyright (C) 2006 Canonical Ltd. +# autopkgtest is Copyright (C) 2006 Canonical Ltd. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,27 +18,43 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # See the file CREDITS for a full list of credits information (often -# installed as /usr/share/doc/autodebtest/CREDITS). +# installed as /usr/share/doc/autopkgtest/CREDITS). -prefix = /usr/local -share = $(prefix)/share -bindir = $(prefix)/bin -mandir = $(share)/man -man1dir = $(mandir)/man1 -docdir = $(share)/doc/autodebtest +include settings.make -INSTALL = install -INSTALL_DIRS = $(INSTALL) -d -INSTALL_PROGRAM = $(INSTALL) -m 0755 -INSTALL_DOC = $(INSTALL) +programs = virt-subproc/adt-virt-chroot \ + virt-subproc/adt-virt-xenlvm \ + virt-subproc/adt-virt-null \ + virt-subproc/adt-virt-schroot \ + runner/adt-run \ + runner/adt-testreport-onepackage \ + runner/adt-testreport-runloop \ + runner/adt-testreport-cronjob -programs = virt-chroot/adt-virt-chroot \ - runner/adt-run +examples = runner/onepackage-config \ + runner/ubuntu-config -install: - $(INSTALL_DIRS) -d $(bindir) $(docdir) +pythonfiles = lib/Autopkgtest.py \ + lib/VirtSubproc.py + +all: + cd xen && $(MAKE) + +install-here: + $(INSTALL_DIRS) -d $(bindir) $(docdir) $(man1dir) \ + $(pythondir) $(examplesdir) set -e; for f in $(programs); do \ $(INSTALL_PROGRAM) $$f $(bindir); \ test ! -f $$f.1 || $(INSTALL_DOC) $$f.1 $(man1dir); \ done + $(INSTALL_DATA) $(pythonfiles) $(pythondir) $(INSTALL_DOC) CREDITS debian/changelog $(docdir) + $(INSTALL_DOC) doc/README*[!~] $(docdir) + $(INSTALL_DOC) $(examples) $(examplesdir) + +install: install-here + cd xen && $(MAKE) install + +clean: + rm -f */*.pyc + cd xen && $(MAKE) clean