server.mk: add version.mk to distribution archives
commitee9e27e66eb8abe0822ba1e10859f02a3c5675da
authorAchim Gratz <Stromeko@Stromeko.DE>
Sun, 26 Aug 2012 08:18:23 +0000 (26 10:18 +0200)
committerAchim Gratz <Stromeko@Stromeko.DE>
Sun, 26 Aug 2012 08:32:11 +0000 (26 10:32 +0200)
treeef1085e0176b67d2eaac1cefe21bc6d9c8d935bc
parentf8cc3189f5ec9a3cb79d7302bd8d396bd6ce34ac
server.mk: add version.mk to distribution archives

* targets.mk: If $(ORGVERSION) and $(GITVERSION) are not defined and
  cannot be determined from Git, try to read `version.mk´.  Fall back
  to "N/A" if still no definition has been made.

* utils/server.mk: Create `version.mk´ for each distribution.  Append
  "-dist" and "-elpa" to $(GITVERSION) to easily recognize builds from
  distribution archives.  Remove `version.mk´ in `cleanrel´ and use
  the same globbing patterns as .gitignore.

* .gitignore: Add "version.mk", also ignore ELPA archive (no ".gz"
  suffix) and only "org-version.el" (no globbing).
.gitignore
targets.mk
utils/server.mk