mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
5158766dce
This patch makes the configure and build system use the output from 'git describe' to determine the version of the software being built. This means that all that is necessary to create a new release is to tag the repository - removing the double sources of version information. There are a couple of fallbacks for systems which do not have git available for builds. Firstly, if a file called '.version' exists in the top level of the repository, then the version information is pulled from this file. The intention is that those packaging up git checkouts for onwards distribution will use 'git describe > .version' before producing their tarballs. Secondly, if we cannot find any version information then the version will default to 'UNKNOWN' This all mirrors the way that many others have integrated git with automake and friends - although the implementation is independent. Change-Id: I7fa4605e52181d60657ad794ca8efdb5a9fb1449 Reviewed-on: http://gerrit.openafs.org/1824 Tested-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Andrew Deason <adeason@sinenomine.net> Reviewed-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Russ Allbery <rra@stanford.edu>
91 lines
1.2 KiB
Plaintext
91 lines
1.2 KiB
Plaintext
#
|
|
# This is the root .gitignore for OpenAFS.
|
|
#
|
|
# Please don't add files that are generated in specific subdirectories
|
|
# here. This file should only contain rules for the entire tree,
|
|
# and entries specific to the top level directory.
|
|
#
|
|
# After changing this file, please run
|
|
# git ls-files -i --exclude-standard
|
|
# to check that you haven't inadvertently ignored any tracked files.
|
|
|
|
# General rules
|
|
|
|
.*
|
|
*.orig
|
|
*.rej
|
|
*.o
|
|
*.a
|
|
*.so
|
|
*.sl
|
|
*.so.*
|
|
*.dylib.*
|
|
*.xdr.c
|
|
*.cs.c
|
|
*.ss.c
|
|
*~
|
|
lex.yy.c
|
|
y.tab.c
|
|
y.tab.h
|
|
Makefile
|
|
RX_component_version_number.c
|
|
AFS_component_version_number.c
|
|
AFS_component_version_number.h
|
|
vc*.pdb
|
|
rs_state.ini
|
|
|
|
!.gitignore
|
|
!.cvsignore
|
|
!.splintrc
|
|
|
|
# Top level files
|
|
/aclocal.m4
|
|
/config.log
|
|
/config.cache
|
|
/config.status
|
|
/configure
|
|
/configure-libafs
|
|
/include
|
|
/lib
|
|
/autom4te.cache
|
|
/ID
|
|
/TAGS
|
|
/NTLang.bat
|
|
/golast.bat
|
|
/.version
|
|
|
|
# Destination build directories
|
|
/alpha_nbsd*
|
|
/alpha_dux*
|
|
/amd64_linux*
|
|
/amd64_fsbd*
|
|
/amd64_nbsd*
|
|
/dest
|
|
/hp_ux*
|
|
/i386_dfbsd*
|
|
/i386_fbsd*
|
|
/i386_nbsd*
|
|
/i386_obsd*
|
|
/i386_linux*
|
|
/i386_umlinux*
|
|
/ia64_hpux*
|
|
/ia64_linux*
|
|
/obj
|
|
/parisc_linux*
|
|
/ppc_darwin*
|
|
/ppc_nbsd*
|
|
/ppc64_linux*
|
|
/rs_aix*
|
|
/s390_linux*
|
|
/s390x_linux*
|
|
/sgi_65
|
|
/sparc64_obsd*
|
|
/sparc64_linux*
|
|
/sun4_*
|
|
/sun4x_*
|
|
/sunx86_*
|
|
/x86_darwin*
|
|
|
|
# Result of make libafs_tree
|
|
/libafs_tree
|