Use $(MAKE) instead of hardcoding `make' in the Makefiles.

When one is using gmake or anything other than make itself, the same
command should be used in the Makefiles too.
This commit is contained in:
Raphael Kubo da Costa
2011-10-09 19:30:08 -03:00
committed by Michael Stapelberg
parent 99825ff268
commit 51116b46f1
2 changed files with 4 additions and 4 deletions

View File

@ -104,8 +104,8 @@ dist: distclean
# Only copy toplevel documentation (important stuff)
mkdir i3-${VERSION}/docs
# Pre-generate documentation
make -C docs
make -C i3bar/doc
$(MAKE) -C docs
$(MAKE) -C i3bar/doc
# Cleanup τεχ output files
find docs -regex ".*\.\(aux\|out\|log\|toc\|bm\|dvi\|log\)" -exec rm '{}' \;
find docs -maxdepth 1 -type f ! \( -name "*.xcf" -or -name "*.svg" \) -exec cp '{}' i3-${VERSION}/docs \;