Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e7944af
)
Allow automatic specification of the RPM locations by check-build.
author
gord-fig
<gord-fig>
Mon, 2 Sep 2002 16:43:11 +0000
(16:43 +0000)
committer
gord-fig
<gord-fig>
Mon, 2 Sep 2002 16:43:11 +0000
(16:43 +0000)
lustre/doc/Makefile.am
patch
|
blob
|
history
diff --git
a/lustre/doc/Makefile.am
b/lustre/doc/Makefile.am
index
fe1ed0d
..
b3c4a50
100644
(file)
--- a/
lustre/doc/Makefile.am
+++ b/
lustre/doc/Makefile.am
@@
-29,10
+29,15
@@
EXTRA_DIST = chbar.sh postbar $(DOCS) $(IMAGES) $(LYXFILES) lustre.bib
all: $(DOCS)
all: $(DOCS)
+# These variables are set by lbuild/check-build.
+RPMRELEASE ?= RELEASE
+KERNTYPE ?= chaos
+KERNRPM ?= kernel-2.4.18lustre13-RELEASE.i386.rpm
+
# update date and version in document
date := $(shell date +%x)
tag := $(shell echo '$$Name: $$' | sed -e 's/^\$$Na''me: *\$$$$/HEAD/; s/^\$$Na''me: \(.*\) \$$$$/\1/')
# update date and version in document
date := $(shell date +%x)
tag := $(shell echo '$$Name: $$' | sed -e 's/^\$$Na''me: *\$$$$/HEAD/; s/^\$$Na''me: \(.*\) \$$$$/\1/')
-addversion = sed -e 's|@T''AG@|$(tag)|g; s|@VER''SION@|$(VERSION)|g; s|@DA''TE@|$(date)|g'
+addversion = sed -e 's|@T''AG@|$(tag)|g; s|@VER''SION@|$(VERSION)|g; s|@DA''TE@|$(date)|g
; s|@RPM''RELEASE@|$(RPMRELEASE)|g; s|@KERN''TYPE@|$(KERNTYPE)|g; s|@KERN''RPM@|$(KERNRPM)|g
'
# Regenerate when the $(VERSION) or $Name: $ changes.
.INTERMEDIATE: $(GENERATED)
# Regenerate when the $(VERSION) or $Name: $ changes.
.INTERMEDIATE: $(GENERATED)