Abort compilation if some smart "developers" think downloading a ZIP file is a good idea.

This commit is contained in:
Lorenz Meier 2015-10-11 12:04:34 +02:00
parent dda740b709
commit 9b45142992
1 changed files with 8 additions and 0 deletions

View File

@ -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
# --------------------------------------------------------------------
# Don't be afraid of this makefile, it is just passing