mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-11 15:18:38 +00:00
Merged revisions 58937 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r58937 | russell | 2007-03-15 17:51:29 -0500 (Thu, 15 Mar 2007) | 2 lines Add Asterisk version information to the generated PDF ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
7
Makefile
7
Makefile
@@ -686,7 +686,7 @@ menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(di
|
|||||||
|
|
||||||
asterisk.pdf: doc/asterisk.pdf
|
asterisk.pdf: doc/asterisk.pdf
|
||||||
|
|
||||||
doc/asterisk.pdf:
|
doc/asterisk.pdf: $(wildcard doc/*.tex)
|
||||||
ifeq ($(findstring rubber,$(RUBBER)),)
|
ifeq ($(findstring rubber,$(RUBBER)),)
|
||||||
@echo "**********************************************"
|
@echo "**********************************************"
|
||||||
@echo "** You must install the \"rubber\" tool ***"
|
@echo "** You must install the \"rubber\" tool ***"
|
||||||
@@ -698,7 +698,10 @@ else
|
|||||||
@echo "** generated. When complete, it will be ***"
|
@echo "** generated. When complete, it will be ***"
|
||||||
@echo "** located at doc/asterisk.pdf. ***"
|
@echo "** located at doc/asterisk.pdf. ***"
|
||||||
@echo "**********************************************"
|
@echo "**********************************************"
|
||||||
@cd doc && rubber asterisk.tex
|
@cp doc/asterisk.tex doc/asterisk.tex.orig
|
||||||
|
@sed -i -e 's/ASTERISKVERSION/$(ASTERISKVERSION)/' doc/asterisk.tex
|
||||||
|
@cd doc && $(RUBBER) --pdf asterisk.tex
|
||||||
|
@mv doc/asterisk.tex.orig doc/asterisk.tex
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: menuselect main sounds clean dist-clean distclean all prereqs cleantest uninstall _uninstall uninstall-all dont-optimize $(SUBDIRS_INSTALL) $(SUBDIRS_CLEAN) $(SUBDIRS_UNINSTALL) $(SUBDIRS) $(MOD_SUBDIRS_EMBED_LDSCRIPT) $(MOD_SUBDIRS_EMBED_LDFLAGS) $(MOD_SUBDIRS_EMBED_LIBS)
|
.PHONY: menuselect main sounds clean dist-clean distclean all prereqs cleantest uninstall _uninstall uninstall-all dont-optimize $(SUBDIRS_INSTALL) $(SUBDIRS_CLEAN) $(SUBDIRS_UNINSTALL) $(SUBDIRS) $(MOD_SUBDIRS_EMBED_LDSCRIPT) $(MOD_SUBDIRS_EMBED_LDFLAGS) $(MOD_SUBDIRS_EMBED_LIBS)
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
\usepackage{hyperref}
|
\usepackage{hyperref}
|
||||||
|
|
||||||
\author{Asterisk Development Team \\ Asterisk.org}
|
\author{Asterisk Development Team \\ Asterisk.org}
|
||||||
\title{Asterisk Reference Information}
|
\title{Asterisk Reference Information \\ Version ASTERISKVERSION}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\maketitle
|
\maketitle
|
||||||
|
Reference in New Issue
Block a user