summaryrefslogtreecommitdiff
path: root/net-mgmt/icinga/files/patch-contrib-Makefile.in
blob: 32251a484ebe542fda2215ce8564ac441f3a27c6 (plain) (blame)
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
--- contrib/Makefile.in.orig	2013-12-05 12:51:35.000000000 +0100
+++ contrib/Makefile.in	2013-12-06 17:20:50.028144909 +0100
@@ -63,10 +63,10 @@ distclean: clean
 devclean: distclean
 
 install:
-	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
-	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
-	for f in $(CGIS); do $(INSTALL) -m 775 $(INSTALL_OPTS) $$f $(DESTDIR)$(CGIDIR); done
-	for f in $(UTILS); do $(INSTALL) -m 775 $(INSTALL_OPTS) $$f $(DESTDIR)$(BINDIR); done
+	$(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
+	$(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
+	for f in $(CGIS); do $(INSTALL) -m 755 $(INSTALL_OPTS) $$f $(DESTDIR)$(CGIDIR); done
+	for f in $(UTILS); do $(INSTALL) -m 755 $(INSTALL_OPTS) $$f $(DESTDIR)$(BINDIR); done
 
 ##############################################################################
 # rules and dependencies for actual target programs
@@ -96,7 +96,7 @@ dst: dst.c
 # dependencies
 
 $(CGI_O): $(CGI_C)
-	cd $(SRC_CGI) && make $(CGI_O)
+	$(MAKE) -C $(SRC_CGI) $(CGI_O)
 
 ##############################################################################
 # implicit rules