Update MANIFEST
[ocaml-libvirt.git] / Makefile.in
index 1904580..ad5a036 100644 (file)
@@ -25,9 +25,9 @@ MAKENSIS      = @MAKENSIS@
 OCAMLDOC        = @OCAMLDOC@
 OCAMLDOCFLAGS  := -html -sort
 
-SUBDIRS                = libvirt mlvirsh examples
+SUBDIRS                = libvirt examples
 
-all opt depend install:
+all opt depend install-opt install-byte:
        for d in $(SUBDIRS); do \
          $(MAKE) -C $$d $@; \
          if [ $$? -ne 0 ]; then exit 1; fi; \
@@ -37,9 +37,12 @@ clean:
        for d in . $(SUBDIRS); do \
          (cd $$d; rm -f *.cmi *.cmo *.cmx *.cma *.cmxa *.o *.a *.so *.opt *~ *.dll *.exe core); \
        done
+       rm -f libvirt/libvirt_c.c
        rm -f examples/list_domains
        rm -f examples/node_info
-       rm -f mlvirsh/mlvirsh
+       rm -f examples/get_cpu_stats
+       rm -f examples/domain_events
+       rm -f examples/get_all_domain_stats
 
 distclean: clean
        rm -f config.h config.log config.status configure
@@ -47,9 +50,9 @@ distclean: clean
        rm -f META
        rm -f libvirt/libvirt_version.ml
        rm -f Makefile
+       rm -f Make.rules
        rm -f libvirt/Makefile
        rm -f examples/Makefile
-       rm -f mlvirsh/Makefile
 
 # Developer documentation (in html/ subdirectory).
 
@@ -97,7 +100,7 @@ dist: ChangeLog
        ls -l $(PACKAGE)-$(VERSION).tar.gz
 
 check-manifest:
-       hg manifest | sort > .check-manifest; \
+       git ls-files | sort > .check-manifest; \
        sort MANIFEST > .orig-manifest; \
        diff -u .orig-manifest .check-manifest; rv=$$?; \
        rm -f .orig-manifest .check-manifest; \
@@ -122,8 +125,6 @@ release_stage_3:
        cp html/*.{html,css} $(WEBSITE)/ocaml-libvirt/html/
        cp README $(WEBSITE)/ocaml-libvirt/README.txt
        cp ChangeLog $(WEBSITE)/ocaml-libvirt/ChangeLog.txt
-#      cp virt-top/virt-top.txt $(WEBSITE)/virt-top/
-#      cp ChangeLog $(WEBSITE)/virt-top/ChangeLog.txt
 
 # Upload to main website.
 
@@ -145,4 +146,4 @@ winupload:
 force:
 
 .PHONY: all opt depend install clean distclean configure dist check-manifest \
-       release release_stage_2 release_stage_3 force
\ No newline at end of file
+       release release_stage_2 release_stage_3 force