blob: e6494c7200791ad2393c0aae165960d149daa237 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
--- a/Makefile.am 2016-09-18 18:01:30.000000000 -0000
+++ b/Makefile.am 2020-04-20 14:01:43.166312404 -0000
@@ -25,13 +25,13 @@
rm -f config.log debian
testsuite:
- cd src/testsuite && make check
+ cd src/testsuite && ${MAKE} check
lint:
- cd src/ngircd && make lint
+ cd src/ngircd && ${MAKE} lint
srcdoc:
- cd doc && make srcdoc
+ cd doc && ${MAKE} srcdoc
have-xcodebuild:
@xcodebuild -project contrib/MacOSX/ngIRCd.xcodeproj -list \
@@ -66,7 +66,7 @@
--out ../../$(distdir).mpkg
rm -f $(distdir).mpkg.zip
zip -ro9 $(distdir).mpkg.zip $(distdir).mpkg
- make osxpkg-clean
+ ${MAKE} osxpkg-clean
osxpkg-clean:
[ ! -r ngircd.dest ] || sudo -n rm -rf ngircd.dest
@@ -74,12 +74,12 @@
osxpkg-dest: have-xcodebuild osxpkg-clean clean
./configure --prefix=/opt/ngircd
- make xcode
- make -C contrib/MacOSX de.barton.ngircd.plist
+ ${MAKE} xcode
+ ${MAKE} -C contrib/MacOSX de.barton.ngircd.plist
mkdir -p ngircd.dest/opt/ngircd/sbin
- DESTDIR="$$PWD/ngircd.dest" make -C doc install
- DESTDIR="$$PWD/ngircd.dest" make -C contrib install
- DESTDIR="$$PWD/ngircd.dest" make -C man install
+ DESTDIR="$$PWD/ngircd.dest" ${MAKE} -C doc install
+ DESTDIR="$$PWD/ngircd.dest" ${MAKE} -C contrib install
+ DESTDIR="$$PWD/ngircd.dest" ${MAKE} -C man install
cp contrib/MacOSX/build/Default/ngIRCd \
ngircd.dest/opt/ngircd/sbin/ngircd
rm ngircd.dest/opt/ngircd/etc/ngircd.conf
--- a/doc/Makefile.am 2016-01-16 13:23:40.000000000 -0000
+++ b/doc/Makefile.am 2020-04-20 14:05:45.316912143 -0000
@@ -55,7 +55,7 @@
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 @@
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 @@
rm -f $(DESTDIR)$(sysconfdir)/ngircd.conf
srcdoc:
- make -C src srcdoc
+ ${MAKE} -C src srcdoc
.PHONY: install-config uninstall-config srcdoc
|