File: README

package info (click to toggle)
loco 0.32-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 56 kB
  • ctags: 6
  • sloc: makefile: 60; perl: 59
file content (63 lines) | stat: -rw-r--r-- 1,893 bytes parent folder | download | duplicates (2)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
This is loco-0.32

The latest source can always be found at http://zjuul.net/~jules/loco/

You downloaded the tar.gz version of loco. I assume you don't want to
install loco from .rpm or .deb package. That's fine. Here are the building
instructions:

You need the following ('make check' will check this for you):
- perl for the program
- the perl module Term::ANSIColor for the program
- pod2man for the man page
- gzip for the man page
- a gzip capable man page reader to read the man page
- pod2html for the html manual page

Installing loco the easy way:

# make
	(will make the man page, some documentation, and does some
	 checks)

# make install

	(this installs the manpage in /usr/local/man/man1, the
	 documentation and uninstall-script in /usr/local/doc/loco-x.xx,
	 and the program in /usr/local/bin)


If you don't like the defaults, you can override them easily:

# make <target> <VARIABLE=value>

where <target> can be check, installprogram, installman, installdoc, uninstall
where <VARIABLE> can be PREFIX, MANDIR, DOCDIR

# make check
	(this will check if you have everything that you need, and
	 creates the manual page as well)
# make installprogram
	(installs just the executable in $(PREFIX)/bin)
# make installman
	(installs just the manpage in $(MANDIR) (default: $(PREFIX/man/man1/)
	 and assumes you did a make check to create the manpage.
	 NOTE: the manpage is installed gzipped. Unzip it manually if this
	 gives you problems)
# make installdoc
	(installs the Makefile, this file, and the man page in HTML in
	 $(DOCDIR) (default: $(PREFIX)/doc/loco-x.xx) and assumes you did a
	 make check to create the html manual page)
# make clean
	(deletes some files that 'make check' created)

Information on how to use the program can be viewed by typing:
# perldoc loco
or
# man loco
	(if you installed the manpage correctly)

Enjoy.

Jules Stuifbergen <jules@zjuul.net>