OSDN Git Service

meson 0.60.2: Cancel reservation. Commit the sources so far.
[linuxjm/jm.git] / manual / nginx / original / getfiles.txt
1 #------------------------------
2 # ソース tarball 入手と伸長
3 #------------------------------
4 $ cd ~/src
5 $ wget -N http://nginx.org/download/nginx-1.21.4.tar.gz
6 $ tar xf nginx-1.21.4.tar.gz
7 $ ls
8 nginx-1.21.4
9
10 #------------------------------
11 # man ページ生成
12 #------------------------------
13 $ cd nginx-1.21.4
14 $ ./configure --prefix=/usr \
15         --conf-path=/etc/nginx/nginx.conf \
16         --error-log-path=/var/log/error.log \
17         --http-log-path=/var/log/access.log \
18         --pid-path=/var/run/nginx.pid
19 $ make -f objs/Makefile manpage
20
21 #------------------------------
22 # 当プロジェクトへの man ページのコピー
23 #------------------------------
24
25 $ cd $(JMTOP)/manual/nginx/original
26 $ cat > getfiles.sh <<"EOF"
27 #!/bin/sh
28
29 SRCDIR=~/src/nginx-1.21.4
30
31 rm -fr man8
32 mkdir  man8
33 cp $SRCDIR/objs/*.8 man8
34 EOF
35
36 $ sh getfiles.sh