~ubuntu-branches/ubuntu/saucy/nut/saucy

« back to all changes in this revision

Viewing changes to conf/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Quette
  • Date: 2004-05-28 13:10:01 UTC
  • mto: (16.1.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040528131001-yj2m9qcez4ya2w14
Tags: upstream-1.4.2
ImportĀ upstreamĀ versionĀ 1.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Network UPS Tools: conf
2
2
 
3
 
prefix     = @prefix@
4
 
CONFPATH   = $(INSTALLROOT)@sysconfdir@
5
 
INSTALLCMD = @INSTALL@
 
3
# this gets used once configure expands sysconfdir below...
 
4
prefix          = @prefix@
 
5
exec_prefix     = @exec_prefix@
 
6
 
 
7
CONFPATH        = $(DESTDIR)@sysconfdir@
 
8
 
 
9
INSTALLCMD  = @INSTALL@
6
10
 
7
11
SECFILES = upsmon.conf upsd.conf upsd.users
8
 
PUBFILES = hosts.conf multimon.conf upsset.conf upssched.conf ups.conf
 
12
PUBFILES = upssched.conf ups.conf
 
13
CGIPUB   = hosts.conf upsset.conf upsstats.html upsstats-single.html
9
14
 
10
15
all:
11
16
clean:
18
23
        @for f in $(PUBFILES) ; do \
19
24
                $(INSTALLCMD) -m 0644 $$f $(CONFPATH)/$$f.sample; \
20
25
        done
 
26
 
 
27
install-cgi-conf:
 
28
        @for f in $(CGIPUB) ; do \
 
29
                $(INSTALLCMD) -m 0644 $$f $(CONFPATH)/$$f.sample; \
 
30
        done