1 #------------------------------
3 #------------------------------
5 $ wget -N https://download.savannah.gnu.org/releases/man-db/man-db-2.10.0.tar.xz
6 $ tar xf man-db-2.10.0.tar.xz
10 #------------------------------
12 # configure 後に生成されるオリジナルパッケージの Makefile 等を
13 # 当プロジェクト内の Makefile において実行するために必要
14 #------------------------------
15 $ cd ~/src/man-db-2.10.0
16 $ ./configure --prefix=/usr --sysconfdir=/etc
18 #------------------------------
19 # 当プロジェクトへの man ページのコピー
20 #------------------------------
22 $ cd $(JMTOP)/manual/man-db/man
23 $ cat > getfiles.sh <<"EOF"
26 SRCDIR=~/src/man-db-2.10.0
27 if test ! -d $SRCDIR; then
28 echo Not found $SRCDIR.
29 echo You must spefify SRCDIR correctly.
37 cp -d $SRCDIR/man/man$n/*.man$n man$n
40 if test ! -f $SRCDIR/man/ja/Makefile; then
41 echo You must configure the original package.
42 echo See getfiles.txt for details.
45 cp -p $SRCDIR/man/replace.sin .
46 sed -f upsteam.mk.sed $SRCDIR/man/ja/Makefile >../upstream.mk