[Blends-commit] [SCM] games branch, master, updated. 1f4e4f9d68fb5a8e98db207af0b04dd5f7a5fb7a

Markus Koschany apo at gambaru.de
Fri Jul 25 19:47:56 UTC 2014


The following commit has been merged in the master branch:
commit 0533dab48d2489d646e1d6ea9ce4ef789d75118a
Author: Markus Koschany <apo at gambaru.de>
Date:   Fri Jul 25 18:38:02 2014 +0200

    Replace Makefile with up-to-date Makefile from blends-dev examples.

diff --git a/Makefile b/Makefile
index 62935ca..a75538c 100755
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,13 @@
 #!/usr/bin/make -f
 
-include /usr/share/blends-dev/Makefile
+BLENDMAKEFILE=/usr/share/blends-dev/Makefile
+
+CheckBlendMakefile := $(shell if [ -e $(BLENDMAKEFILE) ] ; then echo 1 ; else echo 0 ; fi)
+ifeq ($(CheckBlendMakefile),1)
+    include $(BLENDMAKEFILE)
+else
+    err := $(shell echo "$(BLENDMAKEFILE) is missing.  Please install blends-dev package!")
+endif
+
+dummy:
+	@echo $(err)

-- 
Debian Games Pure Blend



More information about the Blends-commit mailing list