~ubuntu-branches/ubuntu/saucy/nagios3/saucy-proposed

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt
  • Date: 2009-08-16 14:14:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090816141423-efjzq1r3jekwd7l7
Tags: 3.2.0-1
* New upstream release (Closes: #542957)
  - Timeperiods should work as expected now (Closes: #539882)
  - Recovery notifications fixed (Closes: #543657)
* Update standards version 
  - Add README.source
* Manpage errors fixed (Closes: #540554)
* Split up the webfrontend into its own package (Closes: #479338, #485466)

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
SRC_COMMON=@srcdir@/common
15
15
SRC_XDATA=@srcdir@/xdata
16
16
SRC_CONTRIB=@srcdir@/contrib
 
17
SRC_TTAP=@srcdir@/t-tap
17
18
 
18
19
CC=@CC@
19
20
CFLAGS=@CFLAGS@ @DEFS@
27
28
BINDIR=@bindir@
28
29
CGIDIR=@sbindir@
29
30
LIBEXECDIR=@libexecdir@
30
 
HTMLDIR=@datadir@
 
31
HTMLDIR=@datarootdir@
31
32
INSTALL=@INSTALL@
32
33
INSTALL_OPTS=@INSTALL_OPTS@
33
34
COMMAND_OPTS=@COMMAND_OPTS@
38
39
PERLDIR=@PERLDIR@
39
40
 
40
41
USE_EVENTBROKER=@USE_EVENTBROKER@
 
42
USE_LIBTAP=@USE_LIBTAP@
41
43
 
42
44
INSTALLPERLSTUFF=@INSTALLPERLSTUFF@
43
45
 
152
154
        cd $(SRC_INCLUDE) && $(MAKE) $@
153
155
        cd $(SRC_CONTRIB) && $(MAKE) $@
154
156
        cd $(SRC_MODULE) && $(MAKE) $@
 
157
        cd $(SRC_TTAP) && $(MAKE) $@
155
158
        rm -f *.cfg core
156
159
        rm -f *~ *.*~ */*~ */*.*~ */*/*.*~
157
160
 
164
167
        cd $(SRC_INCLUDE) && $(MAKE) $@
165
168
        cd $(SRC_CONTRIB) && $(MAKE) $@
166
169
        cd $(SRC_MODULE) && $(MAKE) $@
 
170
        cd $(SRC_TTAP) && $(MAKE) $@
167
171
        rm -f sample-config/*.cfg  sample-config/*.conf sample-config/template-object/*.cfg
168
172
        rm -f daemon-init pkginfo
169
173
        rm -f Makefile subst
171
175
 
172
176
devclean: distclean
173
177
 
 
178
test:
 
179
        $(MAKE) test-perl
 
180
        $(MAKE) test-tap
 
181
 
 
182
test-tap: tap/src/tap.o
 
183
        @if [ x$(USE_LIBTAP) = xyes ]; then \
 
184
                cd $(SRC_TTAP) && $(MAKE) test; \
 
185
        else \
 
186
                echo "NOTE: You must run configure with --enable-libtap to run the C tap tests"; \
 
187
        fi
 
188
 
 
189
tap/src/tap.o:
 
190
        cd tap && $(MAKE)
 
191
 
 
192
test-perl:
 
193
        prove t/*.t
 
194
 
174
195
install-html:
175
196
        cd $(SRC_HTM) && $(MAKE) install
176
197