OSDN Git Service

GNU_automake 1.16.5: Add sources to preview.
[linuxjm/jm.git] / manual / GNU_automake / original / getfiles.txt
diff --git a/manual/GNU_automake/original/getfiles.txt b/manual/GNU_automake/original/getfiles.txt
new file mode 100644 (file)
index 0000000..d449059
--- /dev/null
@@ -0,0 +1,34 @@
+#------------------------------
+# ソース入手と tarball 伸長
+#------------------------------
+$ cd ~/src
+$ wget -N https://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.xz
+$ tar xf automake-1.16.5.tar.xz
+$ ls
+automake-1.16.5
+
+#------------------------------
+# man ページ生成
+#------------------------------
+$ cd automake-1.16.5
+$ ./configure --prefix=`pwd`/usr
+$ LANG=C make install-man
+$ ls usr/share/man/man1
+aclocal-1.16.1  aclocal.1  automake-1.16.1  automake.1
+
+#------------------------------
+# 当プロジェクトへの man ページのコピー
+#------------------------------
+
+$ cd $(JMTOP)/manual/GNU_automake/original
+$ cat > getfiles.sh <<"EOF"
+#!/bin/sh
+
+SRCDIR=~/src/automake-1.16.5
+
+rm -fr man1
+mkdir  man1
+cp -p $SRCDIR/usr/share/man/man1/*.1 man1
+EOF
+
+$ sh getfiles.sh