Browse Source

make-release: Only include specific components of ccan

Luke Dashjr 12 years ago
parent
commit
8de09abbef
1 changed files with 5 additions and 1 deletions
  1. 5 1
      make-release

+ 5 - 1
make-release

@@ -38,7 +38,11 @@ cd "$TMPDIR"
 git submodule update --init
 {
 	git archive --prefix "$sw"/ --format tar "$tag"
-	git submodule --quiet foreach --recursive 'git archive --prefix "'"$sw"'/$path/" --format tar HEAD'
+	git submodule --quiet foreach --recursive 'test x$name = xccan-upstream || git archive --prefix "'"$sw"'/$path/" --format tar HEAD'
+	(
+		cd ccan-upstream
+		git archive --prefix "'"$sw"'/$path/" --format tar HEAD ccan/{build_assert,cast,compiler,opt,typesafe_cb}
+	)
 } | tar -xivp
 cd "$sw"
 NOSUBMODULES=1 \