]> git.ozlabs.org Git - ccan/commitdiff
Use bzr to determine what to upload
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 9 Apr 2010 03:51:11 +0000 (13:21 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 9 Apr 2010 03:51:11 +0000 (13:21 +0930)
Makefile-web

index 76c52749a284f619e2a5d641b0beaf25f4c83bc3..b0d51793ced25762bbb51305e5ff636b6f3fd9ad 100644 (file)
@@ -2,7 +2,7 @@
 WEBDIR=/home/rusty/www/html/ccan
 
 # Ignore EXCLUDE when making webpages.
 WEBDIR=/home/rusty/www/html/ccan
 
 # Ignore EXCLUDE when making webpages.
-REALLY_ALL=$(patsubst ccan/%/_info, %, $(wildcard ccan/*/_info))
+REALLY_ALL=$(patsubst ccan/%/_info, %, $(shell bzr ls -R ccan | grep '/_info$$'))
 ALL_PAGES=$(patsubst %, $(WEBDIR)/info/%.html, $(REALLY_ALL))
 DIRECT_TARBALLS=$(patsubst %, $(WEBDIR)/tarballs/%.tar.bz2, $(REALLY_ALL))
 DEPEND_TARBALLS=$(patsubst %, $(WEBDIR)/tarballs/with-deps/%.tar.bz2, $(REALLY_ALL))
 ALL_PAGES=$(patsubst %, $(WEBDIR)/info/%.html, $(REALLY_ALL))
 DIRECT_TARBALLS=$(patsubst %, $(WEBDIR)/tarballs/%.tar.bz2, $(REALLY_ALL))
 DEPEND_TARBALLS=$(patsubst %, $(WEBDIR)/tarballs/with-deps/%.tar.bz2, $(REALLY_ALL))