Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
going back to static version
Browse files Browse the repository at this point in the history
going back to static version, because using git branch does not work when building packages
  • Loading branch information
joergsteffens committed Sep 19, 2013
1 parent 4bf293f commit 7f3de67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -24,7 +24,6 @@
*.xref
manuals/*/developers/developers.pdf
manuals/*/main/html/
manuals/*/main/version.tex
manuals/*/main/main.css
manuals/*/main/main.html
manuals/*/main/main.pdf
3 changes: 2 additions & 1 deletion manuals/en/main/Makefile
Expand Up @@ -30,7 +30,8 @@ main.toc: *.tex

version.tex.tmp: *.tex
printf -- "\\\\def\\\\bareosBranch{`git rev-parse --abbrev-ref HEAD`}\n" > version.tex.tmp
diff -q version.tex.tmp version.tex || cp -a version.tex.tmp version.tex
# disabled, because does not work with package building
#diff -q version.tex.tmp version.tex || cp -a version.tex.tmp version.tex

main.dvi: *.sty *.tex version.tex.tmp $(INDEXES) main.toc
$(LATEX) main.tex
Expand Down
1 change: 1 addition & 0 deletions manuals/en/main/version.tex
@@ -0,0 +1 @@
\def\bareosBranch{master}

0 comments on commit 7f3de67

Please sign in to comment.