about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorsam_c <11667869+thesamesam@users.noreply.github.com>2020-04-20 18:29:16 +0100
committerGitHub <noreply@github.com>2020-04-20 19:29:16 +0200
commit1fc54ebef1e511c7a512f01e05dea064b2f0e0b9 (patch)
treea8d5f8d38f7c6497b63211ec2f29148965df4f10 /doc
parentc2c84a1d261fc84ce9234d212bdff705548d8465 (diff)
downloadngircd-1fc54ebef1e511c7a512f01e05dea064b2f0e0b9.tar.gz
ngircd-1fc54ebef1e511c7a512f01e05dea064b2f0e0b9.zip
Makefile.am: Replace make with ${MAKE} (#270)
Fixes warnings such as:
"warning: jobserver unavailable: using -j1. Add `+' to parent make rule."

Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 5c8a5d85..4ce26f06 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -55,7 +55,7 @@ all: $(generated_docs)
 install-data-hook: $(static_docs) $(toplevel_docs) $(generated_docs)
 	$(MKDIR_P) -m 755 $(DESTDIR)$(sysconfdir)
 	@if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \
-	  make install-config; \
+	  ${MAKE} install-config; \
 	 fi
 	$(MKDIR_P) -m 755 $(DESTDIR)$(docdir)
 	for f in $(static_docs) $(toplevel_docs); do \
@@ -75,7 +75,7 @@ install-config:
 uninstall-hook:
 	rm -rf $(DESTDIR)$(docdir)
 	@if cmp --silent sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf; then \
-	  make uninstall-config; \
+	  ${MAKE} uninstall-config; \
 	 else \
 	  echo; \
 	  echo " ** NOTE: Not uninstalling changed configuration file:"; \
@@ -87,7 +87,7 @@ uninstall-config:
 	rm -f $(DESTDIR)$(sysconfdir)/ngircd.conf
 
 srcdoc:
-	make -C src srcdoc
+	${MAKE} -C src srcdoc
 
 .PHONY: install-config uninstall-config srcdoc