mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Use $(MAKE) instead of raw "make" (#39588)
This Makefile uses non-standard constructs. As such it can only be parsed by GNU make, which is often installed as 'gmake' instead of 'make'. Using $(MAKE) ensures the same version of make gets called that is used to execute the top level.
This commit is contained in:
@@ -108,7 +108,7 @@ staticmin:
|
||||
cat _themes/srtd/static/css/theme.css | sed -e 's/^[ ]*//g; s/[ ]*$$//g; s/\([:{;,]\) /\1/g; s/ {/{/g; s/\/\*.*\*\///g; /^$$/d' | sed -e :a -e '$$!N; s/\n\(.\)/\1/; ta' > _themes/srtd/static/css/theme.min.css
|
||||
|
||||
epub:
|
||||
(CPUS=$(CPUS) make -f Makefile.sphinx epub)
|
||||
(CPUS=$(CPUS) $(MAKE) -f Makefile.sphinx epub)
|
||||
|
||||
htmlsingle: assertrst
|
||||
sphinx-build -j $(CPUS) -b html -d $(BUILDDIR)/doctrees ./rst $(BUILDDIR)/html rst/$(rst)
|
||||
|
||||
Reference in New Issue
Block a user