Removed trunk directory
[texinfo-docstrings.git] / generate-doc-dir.sh
blob783a4fa8a65286d30ed6e1b5211cfd13a9a4ca6f
1 #!/bin/sh
3 mkdir doc
4 cp licenses/MIT.texinfo doc/license.texinfo
5 cp macros.texinfo doc/
7 manual_filename='babel'
8 system='babel'
9 title='Babel Manual'
10 subtitle='draft version'
11 packages='babel babel-encodings'
13 sed \
14 -e "s!%%MANUAL-FILENAME%%!$manual_filename!g" \
15 -e "s!%%SYSTEM%%!$system!g" \
16 -e "s!%%PACKAGES%%!$packages!g" \
17 -e "s!%%MANUAL-TITLE%%!$title!g" \
18 template.makefile > doc/Makefile
20 sed \
21 -e "s!%%MANUAL-FILENAME%%!$manual_filename!g" \
22 -e "s!%%MANUAL-TITLE%%!$title!g" \
23 -e "s!%%MANUAL-SUBTITLE%%!$subtitle!g" \
24 template.texinfo > doc/${manual_filename}.texinfo
26 echo "Done! See doc/ subdirectory for new files."