forked from matteocorti/check_lm_sensors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
43 lines (29 loc) · 1.12 KB
/
INSTALL
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
Build and install check_lm_sensors
Install to /usr/lib/nagios/plugins/contrib
==========================================
In the source directory run:
perl Makefile.PL
make
make install
Install to a custom directory (CUSTOM_DIR)
=========================================
In the source directory run:
perl Makefile.PL INSTALLSITESCRIPT=CUSTOM_DIR
make
make install
You can override the INSTALLSCRIPT, INSTALLNBIN or INSTALLSITESCRIPT
variable depending on your perl installation.
The man page is installed to /usr/share/man/man1/check_lm_sensors.1
you can customize the path by setting INSTALLMAN1DIR as follows
perl Makefile.PL INSTALLSCRIPT=CUSTOM_DIR INSTALLMAN1DIR=CUSTOM_MAN_DIR
make
make install
Manual installation
===================
Substitute #!perl at the beginning of the script with the location of
your Perl interpreter and copy it to the desired location
Generate the man page with pod2man
pod2man check_lm_sensors.pod > CUSTOM_MAN_FILE
Please report any installation problem to <[email protected]> or
open a ticket at
https://trac.id.ethz.ch/projects/nagios_plugins/newticket