|
Last change
on this file since 411 was 217, checked in by Herwig Bauernfeind, 17 years ago |
|
Import Samba 3.3 branch at 3.3.0 level docs-xml (psmedley's port)
|
|
File size:
308 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | DIR=.
|
|---|
| 3 | if [ "x$1" != "x" ]
|
|---|
| 4 | then
|
|---|
| 5 | DIR="$1"
|
|---|
| 6 | fi
|
|---|
| 7 |
|
|---|
| 8 | OLD=`pwd`
|
|---|
| 9 | cd $DIR
|
|---|
| 10 |
|
|---|
| 11 | echo "<section xmlns:xi=\"http://www.w3.org/2003/XInclude\">"
|
|---|
| 12 | for I in `find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs`
|
|---|
| 13 | do
|
|---|
| 14 | echo "<xi:include href='$I' parse='xml'/>"
|
|---|
| 15 | done
|
|---|
| 16 |
|
|---|
| 17 | echo "</section>"
|
|---|
| 18 |
|
|---|
| 19 | cd $OLD
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.