chiark / gitweb /
tmpdir: fix usage message ref to TMPDIR formal param
[autopkgtest.git] / Makefile
index 47098fe35c4236682c8576fba5492be32233369d..4beca8ba39c2760eb680f6ad0e14e53f299bdd69 100644 (file)
--- a/Makefile
+++ b/Makefile
 
 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
+
+examples =     runner/onepackage-config \
+               runner/ubuntu-config
+
+pythonfiles =  lib/Autopkgtest.py \
+               lib/VirtSubproc.py
 
 all:
        cd xen && $(MAKE)
 
 install-here:
-       $(INSTALL_DIRS) -d $(bindir) $(docdir) $(man1dir)
+       $(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