forked from Archive/PX4-Autopilot
Abort compilation if some smart "developers" think downloading a ZIP file is a good idea.
This commit is contained in:
parent
dda740b709
commit
9b45142992
8
Makefile
8
Makefile
|
@ -31,6 +31,14 @@
|
||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
|
# Enforce the presence of the GIT repository
|
||||||
|
#
|
||||||
|
# We depend on our submodules, so we have to prevent attempts to
|
||||||
|
# compile without it being present.
|
||||||
|
ifeq ($(wildcard .git),)
|
||||||
|
$(error YOU HAVE TO USE GIT TO DOWNLOAD THIS REPOSITORY. ABORTING.)
|
||||||
|
endif
|
||||||
|
|
||||||
# Help
|
# Help
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
# Don't be afraid of this makefile, it is just passing
|
# Don't be afraid of this makefile, it is just passing
|
||||||
|
|
Loading…
Reference in New Issue