vol: Move destroyMe check outside of inUse check
[openafs.git] / src / config / Makefile.version-NOCML.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 PACKAGE=@PACKAGE@
9
10 AFS_component_version_number.o: AFS_component_version_number.c
11
12 AFS_component_version_number.c: @TOP_OBJDIR@/src/config/Makefile.version
13         VERSION=`@abs_top_srcdir@/build-tools/git-version @abs_top_srcdir@/.version` && \
14         echo 'char cml_version_number[]="@(#) OpenAFS '$$VERSION' built ' `date +"%Y-%m-%d"` '";' >AFS_component_version_number.c && \
15         echo 'char* AFSVersion = "${PACKAGE} '$$VERSION'";' >>AFS_component_version_number.c
16
17 version.xml:
18         VERSION=`@abs_top_srcdir@/build-tools/git-version @abs_top_srcdir/.version` && \
19         echo '<?xml version="1.0" encoding="UTF-8"?>' >version.xml && \
20         echo '<revision>' >>version.xml && \
21         echo '<revnumber>'$$VERSION'</revnumber>' >>version.xml && \
22         echo '</revision>' >>version.xml
23
24 version.txt:
25         echo "Base configuration unknown" > version.txt