From 245add886d407308340de3d6f1983602c3ba2645 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] 'make dist' builds a separate kerneldb package. --- Makefile.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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; \ -- 1.8.3.1