TODO.virt-top renamed as TODO
[virt-top.git] / Makefile.in
index 83fc0cb..c1a9f56 100644 (file)
@@ -1,5 +1,5 @@
 # virt-top
 # virt-top
-# Copyright (C) 2007 Red Hat Inc., Richard W.M. Jones
+# Copyright (C) 2007-2008 Red Hat Inc., Richard W.M. Jones
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -58,7 +58,7 @@ endif
 
 # Distribution.
 
 
 # Distribution.
 
-dist:
+dist: ChangeLog
        $(MAKE) check-manifest
        rm -rf $(PACKAGE)-$(VERSION)
        mkdir $(PACKAGE)-$(VERSION)
        $(MAKE) check-manifest
        rm -rf $(PACKAGE)-$(VERSION)
        mkdir $(PACKAGE)-$(VERSION)
@@ -69,11 +69,14 @@ dist:
        ls -l $(PACKAGE)-$(VERSION).tar.gz
 
 check-manifest:
        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; \
        exit $$rv
 
        sort MANIFEST > .orig-manifest; \
        diff -u .orig-manifest .check-manifest; rv=$$?; \
        rm -f .orig-manifest .check-manifest; \
        exit $$rv
 
-.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
+ChangeLog: $(shell find -type f)
+       ./gitlog-to-changelog > $@.new
+       mv $@.new $@
+
+.PHONY: all opt depend install clean distclean force
\ No newline at end of file