xref: /Universal-ctags/man/Makefile (revision 72ae698186a95e6b87de4fb39d82b76eb3190c03)
1# Based on https://github.com/universal-ctags/ctags/pull/3353#issuecomment-1103403502
2# posted by @eli-schwartz.
3all:
4	@if type gmake > /dev/null 2>&1; then							\
5		gmake $@;									\
6	else											\
7		echo "WARNING: GNU make is needed for generating man pages.";			\
8		echo "WARNING: skip the operations in this directory: gmake $@";		\
9	fi
10
11.DEFAULT:
12	@if type gmake > /dev/null 2>&1; then							\
13		gmake $@;									\
14	else											\
15		echo "WARNING: GNU make is needed for updating win32 related build-script.";	\
16		echo "WARNING: skip the operations in this directory: gmake $@";		\
17	fi
18
19.PHONY: all
20