diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-07-10 18:10:36 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:45:58 -0500 |
commit | eb87ee3d8a3c442aa14152ad481916478c4cceb8 (patch) | |
tree | a19c1cba796050602d7f08111d1cc144adb5f5c9 /docs/scripts | |
parent | 68da78a95c91b5dc7bd92949fa993b1e5329c09b (diff) | |
download | samba-eb87ee3d8a3c442aa14152ad481916478c4cceb8.tar.gz samba-eb87ee3d8a3c442aa14152ad481916478c4cceb8.tar.bz2 samba-eb87ee3d8a3c442aa14152ad481916478c4cceb8.zip |
Fix image support. If images are missing, this will now also cause the
docs build to break. Only images that are actually used are copied.
(This used to be commit 9b7099c94588916af6b3c4ebb7883e36d9bf2e6b)
Diffstat (limited to 'docs/scripts')
-rwxr-xr-x | docs/scripts/copy-images.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/scripts/copy-images.sh b/docs/scripts/copy-images.sh new file mode 100755 index 0000000000..9f654a34ae --- /dev/null +++ b/docs/scripts/copy-images.sh @@ -0,0 +1,11 @@ +#!/bin/sh +ROLE="$1" +XMLFILE="$2" +FROM="$3" +TO="$4" + +for x in `xsltproc --stringparam prepend "" --stringparam append "" --stringparam role "$ROLE" xslt/find-image-dependencies.xsl "$XMLFILE"` +do + cp -u $FROM/$x $TO/$x || exit 1 +done +exit |