X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=75de23dc2ab7d5d35b1ec61e80a47c4bfba26a15;hb=93430ac8f5eec12bdd8b679a055af33b3c2d08b8;hp=d747249dbdcef3ff1897b8a624e6caa4a45a2d81;hpb=907172185deaf4d880e4ca8153933a2e90b40560;p=autopkgtest.git diff --git a/Makefile b/Makefile index d747249..75de23d 100644 --- a/Makefile +++ b/Makefile @@ -22,14 +22,37 @@ include settings.make -programs = virt-chroot/adt-virt-chroot \ - runner/adt-run +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 -install: - $(INSTALL_DIRS) -d $(bindir) $(docdir) $(man1dir) +examples = runner/onepackage-config \ + runner/ubuntu-config + +pythonfiles = virt-subproc/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 - cd xen && $(MAKE) install + $(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: + cd xen && $(MAKE) clean