1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Use gpl.xml instead of gpl.tex

(This used to be commit 0f64fa4d66)
This commit is contained in:
Jelmer Vernooij 2004-07-30 22:21:25 +00:00 committed by Gerald W. Carter
parent 6867b52871
commit 4ec61fc89c
5 changed files with 7 additions and 9 deletions

View File

@ -6,7 +6,6 @@
# Jelmer Vernooij <jelmer@samba.org> # Jelmer Vernooij <jelmer@samba.org>
# Programs # Programs
WGET = @WGET@
XSLTPROC = @XSLTPROC@ XSLTPROC = @XSLTPROC@
XMLLINT = @XMLLINT@ XMLLINT = @XMLLINT@
DVIPS = @DVIPS@ DVIPS = @DVIPS@
@ -153,9 +152,6 @@ $(TXTDIR)/%.txt: $(HTMLDIR)/%.html
mkdir -p $(@D) mkdir -p $(@D)
$(XSLTPROC) --output $@ xslt/latex.xsl $< $(XSLTPROC) --output $@ xslt/latex.xsl $<
gpl.tex:
$(WGET) http://www.gnu.org/licenses/gpl.tex
latexfigures: $(LATEX_FIGURES) latexfigures: $(LATEX_FIGURES)
$(PDFDIR)/%.pdf: %.pdf $(PDFDIR)/%.pdf: %.pdf
@ -163,7 +159,7 @@ $(PDFDIR)/%.pdf: %.pdf
cp $< $@ cp $< $@
# Adobe PDF files # Adobe PDF files
%.pdf: %.tex latexfigures gpl.tex %.pdf: %.tex latexfigures
-$(PDFLATEX) $< -$(PDFLATEX) $<
-$(PDFLATEX) $< -$(PDFLATEX) $<
$(MAKEINDEX) $* $(MAKEINDEX) $*
@ -175,7 +171,7 @@ $(DVIDIR)/%.dvi: %.dvi
mkdir -p $(@D) mkdir -p $(@D)
cp $< $@ cp $< $@
%.dvi: %.tex %.idx gpl.tex %.dvi: %.tex %.idx
$(MAKE) $(shell $(XSLTPROC) --stringparam prepend "" --stringparam append ".eps" --stringparam role latex xslt/find-image-dependencies.xsl $(DOCBOOKDIR)/$*.xml) $(MAKE) $(shell $(XSLTPROC) --stringparam prepend "" --stringparam append ".eps" --stringparam role latex xslt/find-image-dependencies.xsl $(DOCBOOKDIR)/$*.xml)
-$(LATEX) $< -$(LATEX) $<
-$(LATEX) $< -$(LATEX) $<

View File

@ -47,7 +47,7 @@
<xi:include href="Chap10b-DomainAppsSupport.xml"/> <xi:include href="Chap10b-DomainAppsSupport.xml"/>
<xi:include href="Chap11-HighAvailability.xml"/> <xi:include href="Chap11-HighAvailability.xml"/>
<xi:include href="Chap12-Appendix.xml"/> <xi:include href="Chap12-Appendix.xml"/>
<?latex \include{gpl}?> <xi:include href="http://www.gnu.org/licenses/gpl.xml"/>
<xi:include href="glossary.xml"/> <xi:include href="glossary.xml"/>
<index/> <index/>
</book> </book>

View File

@ -179,7 +179,7 @@ Samba has several features that you might want or might not want to use. The cha
<?latex \include{gpl}?> <xi:include href="http://www.gnu.org/licenses/gpl.xml"/>
<xi:include href="glossary.xml"/> <xi:include href="glossary.xml"/>

3
docs/aclocal.m4 vendored
View File

@ -1,3 +1,6 @@
dnl (C) 2003-2004 Jelmer Vernooij <jelmer@samba.org>
dnl Published under the GNU GPL
dnl
dnl DOCS_DEFINE_TARGET dnl DOCS_DEFINE_TARGET
dnl arg1: Target that is defined dnl arg1: Target that is defined
dnl arg2: Requirement dnl arg2: Requirement

View File

@ -37,7 +37,6 @@ AC_SUBST(SAMBASOURCEDIR)
DOCS_TARGET_REQUIRE_PROGRAM(XSLTPROC, xsltproc, ALL) DOCS_TARGET_REQUIRE_PROGRAM(XSLTPROC, xsltproc, ALL)
DOCS_TARGET_REQUIRE_PROGRAM(RM, rm, ALL) DOCS_TARGET_REQUIRE_PROGRAM(RM, rm, ALL)
DOCS_TARGET_REQUIRE_PROGRAM(MAKEINDEX, makeindex, LATEX) DOCS_TARGET_REQUIRE_PROGRAM(MAKEINDEX, makeindex, LATEX)
DOCS_TARGET_REQUIRE_PROGRAM(WGET, wget, LATEX)
DOCS_TARGET_REQUIRE_PROGRAM(PDFLATEX, pdflatex, PDF) DOCS_TARGET_REQUIRE_PROGRAM(PDFLATEX, pdflatex, PDF)
DOCS_TARGET_REQUIRE_PROGRAM(EPSTOPDF, epstopdf, PDF) DOCS_TARGET_REQUIRE_PROGRAM(EPSTOPDF, epstopdf, PDF)
DOCS_TARGET_REQUIRE_PROGRAM(THUMBPDF, thumbpdf, PDF) DOCS_TARGET_REQUIRE_PROGRAM(THUMBPDF, thumbpdf, PDF)