* builds/toplevel.mk (version): Protect against `distclean' target.

This commit is contained in:
Werner Lemberg 2006-12-10 07:51:38 +00:00
parent b26b314a93
commit ec5b4508cc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-12-10 Werner Lemberg <wl@gnu.org>
* builds/toplevel.mk (version): Protect against `distclean' target.
2006-12-09 Werner Lemberg <wl@gnu.org>
* builds/*/*def.mk, builds/*/detect.mk (CAT): Define to either `cat'

View File

@ -163,7 +163,8 @@ include $(TOP_DIR)/builds/modules.mk
# Not to be run by a normal user -- there are no attempts to make it
# generic.
ifneq ($(findstring dist,$(MAKECMDGOALS)),)
# we check for `dist', not `distclean'
ifneq ($(findstring distx,$(MAKECMDGOALS)x),)
FT_H := include/freetype/freetype.h
major := $(shell sed -n 's/.*FREETYPE_MAJOR.*\([0-9]\+\)/\1/p' < $(FT_H))