aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2017-12-01 08:46:15 +0200
committerSergey Poznyakoff <gray@gnu.org>2017-12-01 08:47:56 +0200
commit048800a78f64808116bb9b943837062a67f586ae (patch)
treeec97848673a9ebfe6cb5fe8c7ef4e96d943db004 /README
parent0145de1db25c3840346b9cd9ea44e571812e5516 (diff)
downloadruncap-048800a78f64808116bb9b943837062a67f586ae.tar.gz
runcap-048800a78f64808116bb9b943837062a67f586ae.tar.bz2
Bugfixes
* runcap.3: Update docs. * runcap.c (stream_capture_get,stream_capture_put) (runcap_loop): Handle EINTR. * README: New file.
Diffstat (limited to 'README')
-rw-r--r--README68
1 files changed, 68 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..91f5b16
--- /dev/null
+++ b/README
@@ -0,0 +1,68 @@
1#+TITLE: runcap
2
3* Overview
4
5The function *runcap* runs an external command, and waits for its
6termination, optionally capturing its standard output and standard
7error streams, and piping data to its standard input.
8
9* Building as a standalone library
10
11The following steps will build the project as a standalone installable
12library:
13
141. Configure the package
15 #+BEGIN_SRC shell-script
16 ./configure
17 #+END_SRC
182. Build the project.
19 #+BEGIN_SRC shell-script
20 make
21 #+END_SRC
223. Install the files (normally run as root).
23 #+BEGIN_SRC shell-script
24 make install
25 #+END_SRC
26
27 This will install the files *libruncap.so* and *libruncap.a* to the
28 system library directory, and the header file *runcap.h* to the
29 system include directory.
30
31* Incorporating as a submodule
32
33To incorporate *runcap* as a submodule to your project, follow these
34steps:
35
361. Change to your project's toplevel directory.
372. Clone the project.
38 #+BEGIN_SRC shell-script
39 git submodule add git://git.gnu.org.ua/runcap.git
40 git submodule init
41 #+END_SRC
423. Add it to *git* index:
43 #+BEGIN_SRC shell-script
44 git add runcap
45 #+END_SRC
464. Add it to your toplevel *Makefile.am*.
47 #+BEGIN_SRC make
48 ACLOCAL_AMFLAGS = -I grecs/am
49
50 SUBDIRS = runcap
51 #+END_SRC
525. Edit your *configure.ac*
53 #+BEGIN_SRC automake
54 RUNCAP_SETUP
55 #+END_SRC
566.
57 #+BEGIN_SRC make
58 AM_CPPFLAGS = @RUNCAP_INC@
59 AM_LDADD = @RUNCAP_LDADD@
60 #+END_SRC
61
62
63# Local Variables:
64# mode: org
65# paragraph-separate: "[ ^L]*$"
66# version-control: never
67# End:
68

Return to:

Send suggestions and report system problems to the System administrator.