blob: d26263e1a4a1c23fc99fae9f351e468bf83cdf2d (
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
|
diff -Naur pnp4nagios-0.6.7.orig/Makefile.in pnp4nagios-0.6.7/Makefile.in
--- pnp4nagios-0.6.7.orig/Makefile.in 2010-10-19 08:26:19.000000000 +0200
+++ pnp4nagios-0.6.7/Makefile.in 2010-10-19 08:31:51.000000000 +0200
@@ -123,8 +123,13 @@
install-unstripped:
cd $(SRC_BASE) && $(MAKE) $@
- cd $(SRC_SHARE) && $(MAKE) $@
- cd $(SRC_SCRIPTS) && $(MAKE) $@
+ cd $(SRC_SHARE) && $(MAKE) install
+ if [ x$(KOHANA) = xyes ]; then \
+ cd $(SRC_LIB) && $(MAKE) install; \
+ fi
+
+ cd $(SRC_SCRIPTS) && $(MAKE) install
+ cd $(SRC_CONFIG) && $(MAKE) install
$(MAKE) install-basic
install-basic:
diff -Naur pnp4nagios-0.6.7.orig/src/Makefile.in pnp4nagios-0.6.7/src/Makefile.in
--- pnp4nagios-0.6.7.orig/src/Makefile.in 2010-10-19 08:26:19.000000000 +0200
+++ pnp4nagios-0.6.7/src/Makefile.in 2010-10-19 08:28:08.000000000 +0200
@@ -83,7 +83,7 @@
#
###############################
npcd: npcd.c $(NPCDOBJS) $(NPCDHEAD)
- $(CC) $(CFLAGS) -o $@ npcd.c $(NPCDOBJS) -lpthread
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ npcd.c $(NPCDOBJS) -lpthread
###############################
#
|