summaryrefslogtreecommitdiff
path: root/README
blob: 2f0bc5112032cecfbe7a4d93cb16cf8204178aeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Lopsub, the long option parser for subcommands
----------------------------------------------

Documentation is available at

	https://people.tuebingen.mpg.de/maan/lopsub

Alternatively, run

	man -l ./lopsub.7.m4

to show build and installation instructions.

Installation
------------
Build the package with

	make

The suite parser and the config file parser of the lopsub library are
both generated by running flex(1), a tool for generating programs
that perform pattern-matching on text. Hence the flex package must
be installed for the build to succeed. Next, run

	sudo make install

This will install the package in /usr/local.  If you prefer to install
as an unprivileged user in /somewhere/else, run

	make PREFIX=/somewhere/else install

instead. In this case, you need to specify -I/somewhere/else/include to
compile the source files of your application and -L/somewhere/else/lib
for linking. Alternatively, don't run make install at all and specify
the path to the top level directory of the repository for both -I
and -L.