4.104.114.84.95
Last change
on this file since 2dae735f was
2dae735f,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/26/03 at 08:13:55
|
2003-01-26 Ralf Corsepius <corsepiu@…>
- rtemsdoc/Makefile.am: New.
- rtemsdoc/mkspec.in: New.
- rtemsdoc/rtemsdoc.spec.in: New.
- rtemsdoc/supplement.add.in: New.
- rtemsdoc/templ.add.in: New.
|
-
Property mode set to
100644
|
File size:
876 bytes
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | |
---|
3 | RTEMS_DIR=`dirname $0`/@top_srcdir@ |
---|
4 | PACKAGE_BUGREPORT=@PACKAGE_BUGREPORT@ |
---|
5 | |
---|
6 | CFG=../setup.cache |
---|
7 | exe_ext=@EXEEXT@ |
---|
8 | |
---|
9 | usage() |
---|
10 | { |
---|
11 | echo "$0 [options]" |
---|
12 | echo " options:" |
---|
13 | echo " -cfg <setup.cache>" |
---|
14 | echo " -o <rpm-spec-dir>" |
---|
15 | exit 1 ; |
---|
16 | } |
---|
17 | |
---|
18 | specsrc=${RTEMS_DIR}/rtemsdoc/rtemsdoc.spec.in |
---|
19 | |
---|
20 | while test $# -ge 2; do |
---|
21 | case $1 in |
---|
22 | -cfg) |
---|
23 | shift |
---|
24 | CFG=$1 |
---|
25 | shift |
---|
26 | ;; |
---|
27 | -o) |
---|
28 | shift |
---|
29 | dst=$1 |
---|
30 | shift |
---|
31 | ;; |
---|
32 | -*) |
---|
33 | echo "invalid option $1"; |
---|
34 | usage |
---|
35 | ;; |
---|
36 | esac |
---|
37 | done |
---|
38 | |
---|
39 | if test ! $# -eq 0; |
---|
40 | then |
---|
41 | echo "Invalid number of arguments" >&2 |
---|
42 | usage >&2 |
---|
43 | fi |
---|
44 | |
---|
45 | . ./$CFG |
---|
46 | |
---|
47 | sed -e "s%@PACKAGE_BUGREPORT\@%@PACKAGE_BUGREPORT@%g" \ |
---|
48 | -e "s%@rtems_rpm_release\@%${rtems_rpm_release}%g" \ |
---|
49 | -e "s%@rtems_version\@%${rtems_version}%g" \ |
---|
50 | -e "s%@rtems_rpm_version\@%${rtems_rpm_version}%g" \ |
---|
51 | -e "s,@rpm_build_root\@,${rpm_build_root},g" \ |
---|
52 | -e "s%@exe_ext\@%${exe_ext}%g" \ |
---|
53 | < ${specsrc} |
---|
Note: See
TracBrowser
for help on using the repository browser.