#230: Fix 'release' target
-------------------------------------+--------------------------------------
Reporter: mrenzmann | Owner: mrenzmann
Type: task | Status: assigned
Priority: minor | Milestone: version 0.9.0 - move to
new codebase
Component: madwifi: makefiles | Version: trunk
Resolution: | Keywords:
Patch_attached: 1 |
-------------------------------------+--------------------------------------
Comment (by mrenzmann):
Oops, sorry, my bad. I forgot to include the very first changeset (which
was the one implementing the changes to release.h) into the diff. madwifi-
release-target-3 now should be correct, sorry for the confusion.
It works like this:[[br]]
release.h now additionally provides RELEASE_VERSION. If MadWifi is built
from either a working copy or a snapshot, svnversion.h is created;
release.h includes svnversion.h and RELEASE_VERSION is set to the content
of SVNVERSION. Releases won't have svnversion.h due to the forementioned
changes, so make-release.bash modifies release.h such that it does not
include svnversion.h and sets RELEASE_VERSION to the version of the
release. The changes to release.h are committed when tagging the release,
and after tagging make-release.bash reverts the changes in the local
working copy.
Last but not least, version information printouts are no longer using
SVNVERSION, but are switched to RELEASE_VERSION instead.
This way we have just one location in the source that needs to be adjusted
when a release is tagged, which makes handling in the script a lot easier.
And as a side effect release builds won't have a probably confusing
svnversion.h file.
--
Ticket URL: <http://madwifi.org/ticket/230>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity