The magic to create a version-stamp file.

This commit is contained in:
Eric S. Raymond 2007-04-19 02:46:13 +00:00
parent dd69f644a7
commit ccf1d0779d

View File

@ -33,6 +33,12 @@ pkgdatadir=$(datadir)/@DATADIR@
THELIBS = -L. -lwesnoth-core $(SDL_IMAGE_LIBS) $(SDL_MIXER_LIBS) $(SDL_NET_LIBS) \
$(SDL_TTF_LIBS) $(SDL_LIBS) $(PYTHON_LIBS) $(LIBZIPIOS) $(FREETYPE_LIBS) $(LIBINTL)
# Should be touched each time the SVN revision number goes up
version-stamp: FORCE
if [ x"$(SVNREV)" != x`cat version-stamp 2>/dev/null` ]; then echo -n $(SVNREV) >version-stamp; fi
FORCE:
#############################################################################
# Wesnoth #
#############################################################################