OSDN Git Service

GNU bison 3.8.2: 翻訳予約解除。
[linuxjm/jm.git] / manual / GNU_bison / original / getfiles.txt
1 #------------------------------
2 # ソース tarball 入手と伸長
3 #------------------------------
4 $ cd ~/src
5 $ wget -N https://ftp.gnu.org/gnu/bison/bison-3.8.2.tar.xz
6 $ tar xf bison-3.8.2.tar.xz
7 $ ls
8 bison-3.8.2
9
10 #------------------------------
11 # man ページ生成
12 # (yacc.1 は configure 実行後に生成される)
13 #------------------------------
14
15 $ cd ~/src/bison-3.8.2
16 $ ./configure --prefix=/usr
17
18 #------------------------------
19 # 当プロジェクトへの man ページのコピー
20 #------------------------------
21
22 $ cd $(JMTOP)/manual/GNU_bison/original
23 $ cat > getfiles.sh <<"EOF"
24 #!/bin/sh
25
26 SRCDIR=~/src/bison-3.8.2
27
28 rm -fr man1
29 mkdir  man1
30 cp -p $SRCDIR/doc/*.1 man1
31 EOF
32
33 $ sh getfiles.sh