From: Rusty Russell Date: Wed, 14 Jan 2009 23:43:19 +0000 (+1030) Subject: Stephen Thorne points out that ccan tarball should create ccan dir. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=f732cc9ba480efb92ea554a35f44b5744fb5a545;hp=9626551dcc5363146ae0be598ff3575cb5f40da5 Stephen Thorne points out that ccan tarball should create ccan dir. --- diff --git a/Makefile-web b/Makefile-web index d8790626..125945a0 100644 --- a/Makefile-web +++ b/Makefile-web @@ -21,8 +21,9 @@ $(WEBDIR)/junkcode/%.html: $(WEBDIR)/junkcode/%.tar.bz2 cd $(WEBDIR) && tar xfj junkcode/$*.tar.bz2 php5 web/staticjunkcode.php junkcode/$* $* > $@ +# We want tarball to contain ccan/ $(WEBDIR)/ccan.tar.bz2: config.h Makefile Makefile-ccan $(shell bzr ls --versioned --kind=file ccan) $(shell bzr ls --versioned --kind=file tools) - tar cvfj $@ $^ + DIR=`pwd` && cd /tmp && ln -sf "$$DIR" ccan && tar cvfj $@ `for f in $^; do echo ccan/$$f; done` && rm ccan $(ALL_PAGES): tools/doc_extract web/staticmoduleinfo.php