mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Abort compilation if some smart "developers" think downloading a ZIP file is a good idea.
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user