Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
84
Issues
84
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
1a5c0f98
Commit
1a5c0f98
authored
Oct 12, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: generate release value from git version
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
bc1327dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Makefile
doc/Makefile
+3
-1
wrs-build.in
doc/wrs-build.in
+3
-1
No files found.
doc/Makefile
View file @
1a5c0f98
...
...
@@ -18,9 +18,11 @@ ALL = $(INFO) $(HTML) $(TXT) $(PDF)
MAKEINFO
?=
makeinfo
RELEASE
=
$(
shell
git describe
--always
--dirty
)
%.texi
:
%.in
@
rm
-f
$@
sed
-f
./infofilter
$<
>
$@
sed
s/__RELEASE_GIT_ID__/
$(RELEASE)
/
$<
|
sed
-f
./infofilter
>
$@
emacs
-batch
--no-site-file
-l
fixinfo
$@
chmod
-w
$@
...
...
doc/wrs-build.in
View file @
1a5c0f98
...
...
@@ -36,12 +36,14 @@
@setchapternewpage off
@set update-month July 2013
@c the release name below is substituted at build time
@set release __RELEASE_GIT_ID__
@finalout
@titlepage
@title White Rabbit Switch: software build scripts
@subtitle @value{update-month}
@subtitle @value{update-month}
(@value{release})
@subtitle How to rebuild the whole software package from sources
@author Alessandro Rubini, Benoit Rat, Federico Vaga et al.
@end titlepage
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment