# virt-top
-# Copyright (C) 2007 Red Hat Inc., Richard W.M. Jones
+# Copyright (C) 2007-2009 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
rm -f Makefile
rm -f virt-top/Makefile
-# Windows installer (requires NSIS).
-
-WININSTALLER := $(PACKAGE)-$(VERSION).exe
-
-ifneq ($(MAKENSIS),)
-wininstaller: $(WININSTALLER)
-
-$(WININSTALLER): wininstaller.nsis all opt
- "$(MAKENSIS)" \
- //DPACKAGE=$(PACKAGE) //DVERSION=$(VERSION) \
- //DOUTFILE=$@ $<
- ls -l $@
-endif
-
# Distribution.
-dist:
+dist: ChangeLog
$(MAKE) check-manifest
rm -rf $(PACKAGE)-$(VERSION)
mkdir $(PACKAGE)-$(VERSION)
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
-.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