aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-01-28 21:23:53 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2014-01-28 21:27:35 +0200
commit69014cd645779484724d579fc0d302bbaf146ff2 (patch)
treee72caa39581288eda35910746a5810f74eef3d4b
parentccec71ec318fdf739f55858d5bffaf4fd6520036 (diff)
downloadcpio-69014cd645779484724d579fc0d302bbaf146ff2.tar.gz
cpio-69014cd645779484724d579fc0d302bbaf146ff2.tar.bz2
Distribute rmt.8; update build system
* NEWS: Update. * bootstrap (gnulib_extra_files): Remove "missing" * configure.ac: Do not distribute shar archive. Define CPIO_MT_COND * doc/Makefile.am: Always install manpages (mt.1 and rmt.8 -- depending on whether the corresponding programs are built). * doc/cpio.1: Update. * doc/mt.1: Update. * lib/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. * src/Makefile.am: Likewise. * tests/Makefile.am: Likewise.
-rw-r--r--NEWS10
-rwxr-xr-xbootstrap1
-rw-r--r--configure.ac18
-rw-r--r--doc/.gitignore1
-rw-r--r--doc/Makefile.am12
-rw-r--r--doc/cpio.117
-rw-r--r--doc/mt.197
-rw-r--r--lib/Makefile.am2
-rw-r--r--src/Makefile.am8
-rw-r--r--tests/Makefile.am5
10 files changed, 125 insertions, 46 deletions
</
diff --git a/NEWS b/NEWS
index 1b068ba..ecb3c37 100644
--- a/NEWS
+++ b/NEWS
@@ -1,10 +1,14 @@
1GNU cpio NEWS -- history of user-visible changes. 2010-03-10 1GNU cpio NEWS -- history of user-visible changes. 2014-01-28
2Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009,
32010 Free Software Foundation, Inc. 32010, 2014 Free Software Foundation, Inc.
4See the end of file for copying conditions. 4See the end of file for copying conditions.
5 5
6Please send cpio bug reports to <bug-cpio@gnu.org>. 6Please send cpio bug reports to <bug-cpio@gnu.org>.
7 7
8Version 2.11.90 - Git
9
10
11
8Version 2.11 - Sergey Poznyakoff, 2010-03-10 12Version 2.11 - Sergey Poznyakoff, 2010-03-10
9 13
10* Fix mt build. 14* Fix mt build.
@@ -165,7 +169,7 @@ multiple links and of multi-volume archives on floppy disks.
165Copyright information: 169Copyright information:
166 170
167Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 171Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009,
1682010 Free Software Foundation, Inc. 1722010, 2014 Free Software Foundation, Inc.
169 173
170 Permission is granted to anyone to make or distribute verbatim copies 174 Permission is granted to anyone to make or distribute verbatim copies
171 of this document as received, in any medium, provided that the 175 of this document as received, in any medium, provided that the
diff --git a/bootstrap b/bootstrap
index 11c5693..36f7a1e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -110,7 +110,6 @@ tests_base=tests
110# Extra files from gnulib, which override files from other sources. 110# Extra files from gnulib, which override files from other sources.
111gnulib_extra_files=" 111gnulib_extra_files="
112 $build_aux/install-sh 112 $build_aux/install-sh
113 $build_aux/missing
114 $build_aux/mdate-sh 113 $build_aux/mdate-sh
115 $build_aux/texinfo.tex 114 $build_aux/texinfo.tex
116 $build_aux/depcomp 115 $build_aux/depcomp
diff --git a/configure.ac b/configure.ac
index e55c25e..1d3d985 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
1dnl Process this file with autoconf to produce a configure script. 1dnl Process this file with autoconf to produce a configure script.
2dnl This file is part of GNU cpio 2dnl This file is part of GNU cpio
3dnl Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010 Free Software 3dnl Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2014 Free Software
4dnl Foundation, Inc. 4dnl Foundation, Inc.
5dnl 5dnl
6dnl This program is free software; you can redistribute it and/or modify 6dnl This program is free software; you can redistribute it and/or modify
@@ -14,15 +14,15 @@ dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14dnl GNU General Public License for more details. 14dnl GNU General Public License for more details.
15dnl 15dnl
16dnl You should have received a copy of the GNU General Public License 16dnl You should have received a copy of the GNU General Public License
17dnl along with this program; if not, write to the Free Software Foundation, 17dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
18dnl Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 18
20AC_INIT([GNU cpio], [2.11], [bug-cpio@gnu.org]) 19AC_INIT([GNU cpio], [2.11.90], [bug-cpio@gnu.org],,
20 [http://www.gnu.org/software/cpio])
21AC_CONFIG_SRCDIR(src/cpio.h) 21AC_CONFIG_SRCDIR(src/cpio.h)
22AC_CONFIG_AUX_DIR([build-aux]) 22AC_CONFIG_AUX_DIR([build-aux])
23AC_CONFIG_HEADERS([config.h]) 23AC_CONFIG_HEADERS([config.h])
24AC_PREREQ([2.63]) 24AC_PREREQ([2.63])
25AM_INIT_AUTOMAKE([1.11.1 gnits tar-ustar dist-bzip2 dist-shar std-options silent-rules]) 25AM_INIT_AUTOMAKE([1.11.1 gnits tar-ustar dist-bzip2 std-options silent-rules])
26 26
27# Enable silent rules by default: 27# Enable silent rules by default:
28AM_SILENT_RULES([yes]) 28AM_SILENT_RULES([yes])
@@ -58,14 +58,12 @@ cpio_PAXUTILS
58# Additional system dependencies (for mingw) 58# Additional system dependencies (for mingw)
59CPIO_SYSDEP 59CPIO_SYSDEP
60CPIO_PACKED_STRUCTS 60CPIO_PACKED_STRUCTS
61AC_SUBST(CPIO_MT_PROG)
62 61
63AC_ARG_ENABLE(mt, 62AC_ARG_ENABLE(mt,
64 AC_HELP_STRING([--enable-mt], [Enable building of mt program]), 63 AC_HELP_STRING([--enable-mt], [Enable building of mt program]),
65 [case $enableval in 64 [build_mt=$enableval])
66 yes) CPIO_MT_PROG='mt$(EXEEXT)';; 65
67 no) ;; 66AM_CONDITIONAL([CPIO_MT_COND], [test $build_mt = yes])
68 esac])
69 67
70AC_CHECK_HEADERS([unistd.h stdlib.h string.h fcntl.h pwd.h grp.h sys/io/trioctl.h utmp.h getopt.h locale.h libintl.h sys/wait.h utime.h locale.h process.h sys/ioctl.h]) 68AC_CHECK_HEADERS([unistd.h stdlib.h string.h fcntl.h pwd.h grp.h sys/io/trioctl.h utmp.h getopt.h locale.h libintl.h sys/wait.h utime.h locale.h process.h sys/ioctl.h])
71 69
diff --git a/doc/.gitignore b/doc/.gitignore
index 2dd81c0..9c9eece 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -22,5 +22,6 @@ genfile.texi
22getdate.texi 22getdate.texi
23manual 23manual
24parse-datetime.texi 24parse-datetime.texi
25rmt.8
25stamp-vti 26stamp-vti
26version.texi 27version.texi
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 764d472..d3b71c2 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -17,8 +17,16 @@
17# 02110-1301 USA. 17# 02110-1301 USA.
18 18
19info_TEXINFOS = cpio.texi 19info_TEXINFOS = cpio.texi
20man_MANS = cpio.1 mt.1 20dist_man_MANS = cpio.1 $(MT_1) $(RMT_8)
21EXTRA_DIST = $(man_MANS) gendocs_template 21
22if CPIO_MT_COND
23 MT_1=mt.1
24endif
25if PU_RMT_COND
26 RMT_8=rmt.8
27endif
28
29EXTRA_DIST = gendocs_template mt.1 rmt.8
22 30
23# Make sure you set TEXINPUT 31# Make sure you set TEXINPUT
24manual: 32manual:
diff --git a/doc/cpio.1 b/doc/cpio.1
index c18cfb4..a3d81ca 100644
--- a/doc/cpio.1
+++ b/doc/cpio.1
@@ -1,4 +1,19 @@
1.TH CPIO 1L \" -*- nroff -*- 1.\" This file is part of GNU cpio. -*- nroff -*-
2.\" Copyright 2014 Free Software Foundation, Inc.
3.\"
4.\" GNU cpio is free software; you can redistribute it and/or modify
5.\" it under the terms of the GNU General Public License as published by
6.\" the Free Software Foundation; either version 3 of the License, or
7.\" (at your option) any later version.
8.\"
9.\" GNU cpio is distributed in the hope that it will be useful,
10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12.\" GNU General Public License for more details.
13.\"
14.\" You should have received a copy of the GNU General Public License
15.\" along with GNU cpio. If not, see <http://www.gnu.org/licenses/>.
16.TH CPIO 1 "January 28, 2014" "CPIO" "GNU CPIO"
2.SH NAME 17.SH NAME
3cpio \- copy files to and from archives 18cpio \- copy files to and from archives
4.SH SYNOPSIS 19.SH SYNOPSIS
diff --git a/doc/mt.1 b/doc/mt.1
index ee10add..bc26fed 100644
--- a/doc/mt.1
+++ b/doc/mt.1
@@ -1,10 +1,25 @@
1.TH MT 1L \" -*- nroff -*- 1.\" This file is part of GNU cpio. -*- nroff -*-
2.\" Copyright 2014 Free Software Foundation, Inc.
3.\"
4.\" GNU cpio is free software; you can redistribute it and/or modify
5.\" it under the terms of the GNU General Public License as published by
6.\" the Free Software Foundation; either version 3 of the License, or
7.\" (at your option) any later version.
8.\"
9.\" GNU cpio is distributed in the hope that it will be useful,
10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12.\" GNU General Public License for more details.
13.\"
14.\" You should have received a copy of the GNU General Public License
15.\" along with GNU cpio. If not, see <http://www.gnu.org/licenses/>.
16.TH MT 1 "January 28, 2014" "MT" "GNU CPIO"
2.SH NAME 17.SH NAME
3mt \- control magnetic tape drive operation 18mt \- control magnetic tape drive operation
4.SH SYNOPSIS 19.SH SYNOPSIS
5.B mt 20.B mt
6[\-V] [\-f device] [\-\-file=device] [\-\-rsh-command=command] [\-\-version] 21[\fB\-V\fR] [\fB\-f\fR \fIdevice\fR] [\fB\-\-file=\fIdevice\fR] [\fB\-\-rsh-command=\fIcommand\fR] [\fB\-\-version\fR]
7operation [count] 22\fIoperation\fR [\fIcount\fR]
8.SH DESCRIPTION 23.SH DESCRIPTION
9This manual page 24This manual page
10documents the GNU version of 25documents the GNU version of
@@ -16,7 +31,7 @@ which must be one of the tape operations listed below, on a tape
16drive. 31drive.
17.PP 32.PP
18The default tape device to operate on is taken from the file 33The default tape device to operate on is taken from the file
19.I /usr/include/sys/mtio.h 34.B /usr/include/sys/mtio.h
20when 35when
21.B mt 36.B mt
22is compiled. It can be overridden by giving a device file name in 37is compiled. It can be overridden by giving a device file name in
@@ -37,61 +52,76 @@ accepted. Not all operations are available on all systems, or work on
37all types of tape drives. 52all types of tape drives.
38Some operations optionally take a repeat count, which can be given 53Some operations optionally take a repeat count, which can be given
39after the operation name and defaults to 1. 54after the operation name and defaults to 1.
40.IP "eof, weof" 55.TP
56.BR eof ", " weof
41Write 57Write
42.I count 58.I count
43EOF marks at current position. 59EOF marks at current position.
44.IP fsf 60.TP
61.B fsf
45Forward space 62Forward space
46.I count 63.I count
47files. 64files.
48The tape is positioned on the first block of the next file. 65The tape is positioned on the first block of the next file.
49.IP bsf 66.TP
67.B bsf
50Backward space 68Backward space
51.I count 69.I count
52files. 70files.
53The tape is positioned on the first block of the next file. 71The tape is positioned on the first block of the next file.
54.IP fsr 72.TP