Next: , Previous: ax_create_target_h, Up: The Macros


ax_cvs

Synopsis

     AX_CVS([ANON_CVSROOT])

Description

Adds support cvs targets within your Makefile.

Branching and releasing relies on you using the following version format:

       MAJOR.MINOR.POINT

where MAJOR is the major version number, MINOR is the minor version number and POINT is the point release number.

make update

       performs a cvs update

make commitlog

       Generates a ChangeLog template with the modifed, added
       and removed files and opens it up for editing. This is
       not normally used directly, but is instad called by
       commit. It is usefull however if you want to document
       the work you have done, but don't want to commit just
       yet.

make commit

       performs a cvs commit after first performing a cvs
       update and generating a commit log.

make cvs-rm FILES="file1 file2 ..."

       removes a file or files specified by the FILES
       variable from the file system and from cvs. It will
       interactively ask you to confirm the file removal,
       unless the file does not exist on the file system.

make cvs-add FILES="file1 file2 ..."

       adds a file or files specified by the FILES variable
       to cvs.

make branch-major

       creates a branch based on the major version number,
       increments the major version number, sets the minor
       and point versions to zero and checks out the branch
       into a new directory.

make branch-minor

       creates a branch based on the minor version number,
       increments the minor version, sets the point version
       to zero number and checks out the branch into a new
       directory.

make release

       performs a cvs update, followed by a distcheck, then
       creates a release for the current version, increaments
       the point release number and checks out the release
       into a new direcory

make quick-release

       same as release, but distcheck is not performed

Source Code

Download the latest version of ax_cvs.m4 or browse the macro's revision history.

License

Copyright © 2009 Tom Howard tomhoward@users.sf.net

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.