Makefile
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | BLENDMAKEFILE=/usr/share/blends-dev/Makefile |
| 4 | |
| 5 | CheckBlendMakefile := $(shell if [ -e $(BLENDMAKEFILE) ] ; then echo 1 ; else echo 0 ; fi) |
| 6 | ifeq ($(CheckBlendMakefile),1) |
| 7 | include $(BLENDMAKEFILE) |
| 8 | else |
| 9 | err := $(shell echo "$(BLENDMAKEFILE) is missing. Please install blends-dev package!") |
| 10 | endif |
| 11 | |
| 12 | dummy: |
| 13 | @echo $(err) |