From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Wed, 6 Aug 2008 19:17:53 +0000 (+0100) Subject: 'make dist' builds a separate kerneldb package. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=245add886d407308340de3d6f1983602c3ba2645;p=virt-mem.git 'make dist' builds a separate kerneldb package. --- diff --git a/Makefile.in b/Makefile.in index 47b7187..799da69 100644 --- a/Makefile.in +++ b/Makefile.in @@ -129,10 +129,19 @@ dist: $(INSTALL) -m 0644 config.h.in $(PACKAGE)-$(VERSION)/ tar zcf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) rm -rf $(PACKAGE)-$(VERSION) + mkdir $(PACKAGE)-$(VERSION) + mkdir $(PACKAGE)-$(VERSION)/kernels + $(INSTALL) -m 0644 kernels/*.data* kernels/*.info \ + $(PACKAGE)-$(VERSION)/kernels/ + tar zcf $(PACKAGE)-kerneldb-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) + rm -rf $(PACKAGE)-$(VERSION) ls -l $(PACKAGE)-$(VERSION).tar.gz + ls -l $(PACKAGE)-kerneldb-$(VERSION).tar.gz check-manifest: - hg manifest | sort > .check-manifest; \ + hg manifest | \ + grep -Ev 'kernels/.*\.(data|info).*' | \ + sort > .check-manifest; \ sort MANIFEST > .orig-manifest; \ diff -u .orig-manifest .check-manifest; rv=$$?; \ rm -f .orig-manifest .check-manifest; \