Browse code

Adding checking for texinfo in Makefile.

Sharath George authored on 2015/05/15 03:25:38
Showing 1 changed files
... ...
@@ -169,11 +169,14 @@ photon-vagrant-local: check-packer check-vagrant
169 169
 		echo "Unable to find $(PHOTON_STAGE)/photon.iso ... aborting build"; \
170 170
 	fi
171 171
 
172
-check: check-bison check-g++ check-gawk check-createrepo
172
+check: check-bison check-g++ check-gawk check-createrepo check-texinfo
173 173
 
174 174
 check-bison:
175 175
 	@command -v bison >/dev/null 2>&1 || { echo "Package bison not installed. Aborting." >&2; exit 1; }
176 176
 
177
+check-texinfo:
178
+	@command -v makeinfo >/dev/null 2>&1 || { echo "Package texinfo not installed. Aborting." >&2; exit 1; }
179
+
177 180
 check-g++:
178 181
 	@command -v g++ >/dev/null 2>&1 || { echo "Package g++ not installed. Aborting." >&2; exit 1; }
179 182