diff options
author | Werner Lemberg <wl@gnu.org> | 2006-12-10 07:51:38 +0000 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2006-12-10 07:51:38 +0000 |
commit | ec5b4508cc17e81153a6f5625794ab36f009d9ab (patch) | |
tree | 49d34b9ca403b8377a9de01eb05baf4700f06f80 /builds/toplevel.mk | |
parent | b26b314a9357ddb4a4819c36a59313d076396cea (diff) | |
download | freetype2-ec5b4508cc17e81153a6f5625794ab36f009d9ab.tar.gz |
* builds/toplevel.mk (version): Protect against `distclean' target.
Diffstat (limited to 'builds/toplevel.mk')
-rw-r--r-- | builds/toplevel.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builds/toplevel.mk b/builds/toplevel.mk index f8306a03b..d5ca530a3 100644 --- a/builds/toplevel.mk +++ b/builds/toplevel.mk @@ -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)) |