Skip to content

Commit

Permalink
- Move the PGP keyring generation to the language-independent share d…
Browse files Browse the repository at this point in the history
…irectory

Discussed with:	hrs, wblock
  • Loading branch information
gabor authored and gabor committed Mar 7, 2014
1 parent 8231383 commit b6ff19a
Show file tree
Hide file tree
Showing 25 changed files with 41 additions and 407 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -31,6 +31,8 @@ SUBDIR+= zh_CN.UTF-8
SUBDIR+= zh_TW.Big5
.endif

SUBDIR+= share

DOC_PREFIX?= ${.CURDIR}

.if exists(/usr/bin/svnlite)
Expand Down
3 changes: 0 additions & 3 deletions de_DE.ISO8859-1/books/handbook/Makefile
Expand Up @@ -275,9 +275,6 @@ CHAPTERS?= ${SRCS:M*chapter.xml}
XMLFLAGS+= ${CHAPTERS:S/\/chapter.xml//:S/^/-i chap./}
XMLFLAGS+= -i chap.freebsd-glossary

pgpkeyring: pgpkeys/chapter.xml
@${JADE} -V nochunks ${OTHERFLAGS} ${JADEOPTS} -d ${DSLPGP} -t sgml ${MASTERDOC}

URL_RELPREFIX?= ../../../..
DOC_PREFIX?= ${.CURDIR}/../../..

Expand Down
29 changes: 0 additions & 29 deletions el_GR.ISO8859-7/books/handbook/Makefile
Expand Up @@ -7,25 +7,6 @@
# %SRCID% 43126
#

# ------------------------------------------------------------------------
#
# ÌåôáâëçôÝò ó÷åôéêÝò ìå ôï Åã÷åéñßäéï
#
# WITH_PGPKEYS Ç åêôõðþóéìç ìïñöÞ ôïõ åã÷åéñéäßïõ ðåñéÝ÷åé êáíïíéêÜ
# ìüíï ôá fingerprints áðü ôá PGP êëåéäéÜ. Áí èÝëåôå
# íá åêôõðþíïíôáé ïëüêëçñá ôá êëåéäéÜ, ôüôå áõôÞ ç
# ìåôáâëçôÞ ðñÝðåé íá åßíáé 'defined'. ÁõôÞ ç åðéëïãÞ
# äåí åðçñåÜæåé óå ôßðïôá ôéò ìïñöÝò HTML.
#
# Make targets ìüíï ãéá ôï Åã÷åéñßäéï
#
# pgpkeyring This target will read the contents of
# pgpkeys/chapter.xml and will extract all of
# the pgpkeys to standard out. This output can then
# be redirected into a file and distributed as a
# public keyring of FreeBSD developers that can
# easily be imported into PGP/GPG.
#
# ------------------------------------------------------------------------
#
# Ãéá íá ðñïóèÝóåôå Ýíá íÝï êåöÜëáéï óôï Åã÷åéñßäéï:
Expand Down Expand Up @@ -293,16 +274,6 @@ CHAPTERS?= ${SRCS:M*chapter.xml}
XMLFLAGS+= ${CHAPTERS:S/\/chapter.xml//:S/^/-i chap./}
XMLFLAGS+= -i chap.freebsd-glossary

pgpkeyring: pgpkeys/chapter.xml
@${JADE} -V nochunks ${OTHERFLAGS} ${JADEOPTS} -d ${DSLPGP} -t sgml ${MASTERDOC}

#
# Handbook-specific variables
#
.if defined(WITH_PGPKEYS)
JADEFLAGS+= -V withpgpkeys
.endif

URL_RELPREFIX?= ../../../..
DOC_PREFIX?= ${.CURDIR}/../../..

Expand Down
34 changes: 0 additions & 34 deletions en_US.ISO8859-1/books/handbook/Makefile
Expand Up @@ -5,25 +5,6 @@
#

# ------------------------------------------------------------------------
#
# Handbook-specific variables
#
# WITH_PGPKEYS The print version of the handbook only prints PGP
# fingerprints by default. If you would like for the
# entire key to be displayed, then set this variable.
# This option has no affect on the HTML formats.
#
# Handbook-specific targets
#
# pgpkeyring This target will read the contents of
# pgpkeys/chapter.xml and will extract all of
# the pgpkeys to standard out. This output can then
# be redirected into a file and distributed as a
# public keyring of FreeBSD developers that can
# easily be imported into PGP/GPG.
#
# ------------------------------------------------------------------------
#
# To add a new chapter to the Handbook:
#
# - Update this Makefile, chapters.ent and book.xml
Expand Down Expand Up @@ -287,16 +268,6 @@ CHAPTERS?= ${SRCS:M*chapter.xml}
XMLFLAGS+= ${CHAPTERS:S/\/chapter.xml//:S/^/-i chap./}
XMLFLAGS+= -i chap.freebsd-glossary

pgpkeyring: pgpkeys/chapter.xml ${DOC}.parsed.xml
@${XSLTPROC} ${XSLTPROCOPTS} ${XSLPGP} ${DOC}.parsed.xml

#
# Handbook-specific variables
#
.if defined(WITH_PGPKEYS)
JADEFLAGS+= -V withpgpkeys
.endif

URL_RELPREFIX?= ../../../..
DOC_PREFIX?= ${.CURDIR}/../../..

Expand Down Expand Up @@ -343,8 +314,3 @@ SRCS+= mirrors.lastmod.inc \
eresources.xml.www.index.inc

.include "${DOC_PREFIX}/share/mk/doc.project.mk"

# XXX
.if defined(FINGERPRINTS_ONLY)
XSLTPROCOPTS+=--param generate.fingerprint.only '1'
.endif
2 changes: 1 addition & 1 deletion en_US.ISO8859-1/htdocs/doc/Makefile
Expand Up @@ -26,7 +26,7 @@ all-install:
INSTALL_COMPRESSED= install
all-pgpkeyring:
@unset DESTDIR || true; \
cd ${DOC_PREFIX}/${LANGCODE}/books/handbook; \
cd ${DOC_PREFIX}/share/pgpkeys; \
${MAKE} \
pgpkeyring > ${.OBJDIR}/pgpkeyring.txt

Expand Down
30 changes: 0 additions & 30 deletions es_ES.ISO8859-1/books/handbook/Makefile
Expand Up @@ -10,26 +10,6 @@
# %SRCID% 0.0


# ------------------------------------------------------------------------
#
# Handbook-specific variables
#
# WITH_PGPKEYS The print version of the handbook only prints PGP
# fingerprints by default. If you would like for the
# entire key to be displayed, then set this variable.
# This option has no affect on the HTML formats.
#
# Handbook-specific targets
#
# pgpkeyring This target will read the contents of
# pgpkeys/chapter.xml and will extract all of
# the pgpkeys to standard out. This output can then
# be redirected into a file and distributed as a
# public keyring of FreeBSD developers that can
# easily be imported into PGP/GPG.
#
# ------------------------------------------------------------------------

MAINTAINER= jesusr@FreeBSD.org

DOC?= book
Expand Down Expand Up @@ -200,16 +180,6 @@ CHAPTERS?= ${SRCS:M*chapter.xml}

XMLFLAGS+= ${CHAPTERS:S/\/chapter.xml//:S/^/-i chap./}

pgpkeyring: pgpkeys/chapter.xml
@${JADE} -V nochunks ${JADEOPTS} -d ${DSLPGP} -t sgml ${MASTERDOC}

DOC_PREFIX?= ${.CURDIR}/../../..

#
# Handbook-specific variables
#
.if defined(WITH_PGPKEYS)
JADEFLAGS+= -V withpgpkeys
.endif

.include "${DOC_PREFIX}/share/mk/doc.project.mk"
30 changes: 0 additions & 30 deletions fr_FR.ISO8859-1/books/handbook/Makefile
Expand Up @@ -7,26 +7,6 @@
# Build the FreeBSD Handbook.
#

# ------------------------------------------------------------------------
#
# Handbook-specific variables
#
# WITH_PGPKEYS The print version of the handbook only prints PGP
# fingerprints by default. If you would like for the
# entire key to be displayed, then set this variable.
# This option has no affect on the HTML formats.
#
# Handbook-specific targets
#
# pgpkeyring This target will read the contents of
# pgpkeys/chapter.xml and will extract all of
# the pgpkeys to standard out. This output can then
# be redirected into a file and distributed as a
# public keyring of FreeBSD developers that can
# easily be imported into PGP/GPG.
#
# ------------------------------------------------------------------------

MAINTAINER=blackend@FreeBSD.org

DOC?= book
Expand Down Expand Up @@ -228,16 +208,6 @@ CHAPTERS?= ${SRCS:M*chapter.xml}
XMLFLAGS+= ${CHAPTERS:S/\/chapter.xml//:S/^/-i chap./}
XMLFLAGS+= -i chap.freebsd-glossary

pgpkeyring: pgpkeys/chapter.xml
@${JADE} -V nochunks ${OTHERFLAGS} ${JADEOPTS} -d ${DSLPGP} -t sgml ${MASTERDOC}

#
# Handbook-specific variables
#
.if defined(WITH_PGPKEYS)
JADEFLAGS+= -V withpgpkeys
.endif

URL_RELPREFIX?= ../../../..
DOC_PREFIX?= ${.CURDIR}/../../..

Expand Down
2 changes: 1 addition & 1 deletion fr_FR.ISO8859-1/htdocs/doc/Makefile
Expand Up @@ -34,7 +34,7 @@ all-install:
INSTALL_COMPRESSED= install
all-pgpkeyring:
@unset DESTDIR || true; \
cd ${DOC_PREFIX}/${LANGCODE}; \
cd ${DOC_PREFIX}/share/pgpkeys; \
${MAKE} \
pgpkeyring > ${.OBJDIR}/pgpkeyring.txt

Expand Down
28 changes: 0 additions & 28 deletions hu_HU.ISO8859-2/books/handbook/Makefile
Expand Up @@ -9,24 +9,6 @@
# Build the FreeBSD Handbook.
#

# ------------------------------------------------------------------------
#
# Handbook-specific variables
#
# WITH_PGPKEYS The print version of the handbook only prints PGP
# fingerprints by default. If you would like for the
# entire key to be displayed, then set this variable.
# This option has no affect on the HTML formats.
#
# Handbook-specific targets
#
# pgpkeyring This target will read the contents of
# pgpkeys/chapter.xml and will extract all of
# the pgpkeys to standard out. This output can then
# be redirected into a file and distributed as a
# public keyring of FreeBSD developers that can
# easily be imported into PGP/GPG.
#
# ------------------------------------------------------------------------
#
# To add a new chapter to the Handbook:
Expand Down Expand Up @@ -255,16 +237,6 @@ CHAPTERS?= ${SRCS:M*chapter.xml}
XMLFLAGS+= ${CHAPTERS:S/\/chapter.xml//:S/^/-i chap./}
XMLFLAGS+= -i chap.freebsd-glossary

pgpkeyring: pgpkeys/chapter.xml
@${JADE} -V nochunks ${OTHERFLAGS} ${JADEOPTS} -d ${DSLPGP} -t sgml ${MASTERDOC}

#
# Handbook-specific variables
#
.if defined(WITH_PGPKEYS)
JADEFLAGS+= -V withpgpkeys
.endif

URL_RELPREFIX?= ../../../..
DOC_PREFIX?= ${.CURDIR}/../../..

Expand Down
33 changes: 0 additions & 33 deletions it_IT.ISO8859-15/books/handbook/Makefile
Expand Up @@ -5,29 +5,6 @@
# Crea il Manuale di FreeBSD.
#

# ------------------------------------------------------------------------
#
# Variabili specifiche del Manuale
#
# WITH_PGPKEYS La versione stampata del manuale riporta solo i
# fingerprints PGP di base. Se vuoi visualizzare
# le chiavi intere, allora setta questa variabile.
# Questa opzione non ha effetto sui formati HTML.
#
# Targets specifici del Manuale
#
# pgpkeyring Questo target leggerà il contenuto del file
# pgpkeys/chapter.xml ad estrarrà tutte le chiavi
# pgp sullo standard output. Questo output può
# quindi essere rediretto su un file e distribuito
# come un keyring pubblico degli sviluppatori di
# FreeBSD che può essere facilmente importato in
# PGP/GPG.
#
# ------------------------------------------------------------------------

.PATH: ${.CURDIR}/../../share/xml/glossary

MAINTAINER= ale@FreeBSD.org

DOC?= book
Expand Down Expand Up @@ -229,16 +206,6 @@ CHAPTERS?= ${SRCS:M*chapter.xml}
XMLFLAGS+= ${CHAPTERS:S/\/chapter.xml//:S/^/-i chap./}
XMLFLAGS+= -i chap.freebsd-glossary

pgpkeyring: pgpkeys/chapter.xml
@${JADE} -V nochunks ${OTHERFLAGS} ${JADEOPTS} -d ${DSLPGP} -t sgml ${MASTERDOC}

#
# Variabili specifiche del Manuale
#
.if defined(WITH_PGPKEYS)
JADEFLAGS+= -V withpgpkeys
.endif

URL_RELPREFIX?= ../../../..
DOC_PREFIX?= ${.CURDIR}/../../..

Expand Down
29 changes: 0 additions & 29 deletions ja_JP.eucJP/books/handbook/Makefile
Expand Up @@ -7,25 +7,6 @@
#

# ------------------------------------------------------------------------
#
# Handbook-specific variables
#
# WITH_PGPKEYS The print version of the handbook only prints PGP
# fingerprints by default. If you would like for the
# entire key to be displayed, then set this variable.
# This option has no affect on the HTML formats.
#
# Handbook-specific targets
#
# pgpkeyring This target will read the contents of
# pgpkeys/chapter.xml and will extract all of
# the pgpkeys to standard out. This output can then
# be redirected into a file and distributed as a
# public keyring of FreeBSD developers that can
# easily be imported into PGP/GPG.
#
# ------------------------------------------------------------------------
#
# To add a new chapter to the Handbook:
#
# - Update this Makefile, chapters.ent and book.xml
Expand Down Expand Up @@ -294,16 +275,6 @@ CHAPTERS?= ${SRCS:M*chapter.xml}
XMLFLAGS+= ${CHAPTERS:S/\/chapter.xml//:S/^/-i chap./}
XMLFLAGS+= -i chap.freebsd-glossary

pgpkeyring: pgpkeys/chapter.xml ${DOC}.parsed.xml
@${XSLTPROC} ${XSLPGP} ${DOC}.parsed.xml

#
# Handbook-specific variables
#
.if defined(WITH_PGPKEYS)
JADEFLAGS+= -V withpgpkeys
.endif

URL_RELPREFIX?= ../../../..
DOC_PREFIX?= ${.CURDIR}/../../..

Expand Down
29 changes: 0 additions & 29 deletions nl_NL.ISO8859-1/books/handbook/Makefile
Expand Up @@ -7,25 +7,6 @@
# Bouw het Nederlandse FreeBSD Handboek.
#

# ------------------------------------------------------------------------
#
# Handboekspecifieke variabelen
#
# WITH_PGPKEYS De gedrukte verie van het handboek geeft standaard
# alleen PGP vingerafdrukken weer. Als het gewenst
# is dat de complete sleutel wordt weergegeven dan
# dient deze variabele insteld te worden. De optie
# heeft geen invloed op de HTML formaten.
#
# Handboekspecifieke doelen
#
# pgpkeyring Dit doel leest de inhoud van pgpkeys/chapter.xml
# en schrijft dan alle PGP sleutels naar stdout.
# De uitvoer kan omgeleid worden naar een bestand
# en verspreid worden als een publieke sleutelring
# van FreeBSD ontwikkelaars die eenvoudig in
# PGP/GPG ingelezen kan worden.
#
# ------------------------------------------------------------------------
# Om een nieuw hoofdstuk aan het Handboek toe te voegen:
#
Expand Down Expand Up @@ -291,16 +272,6 @@ CHAPTERS?= ${SRCS:M*chapter.xml}
XMLFLAGS+= ${CHAPTERS:S/\/chapter.xml//:S/^/-i chap./}
XMLFLAGS+= -i chap.freebsd-glossary

pgpkeyring: pgpkeys/chapter.xml
@${XSLTPROC} ${XSLPGP} ${DOC}.parsed.xml

#
# Handboekspecifieke variablen
#
.if defined(WITH_PGPKEYS)
JADEFLAGS+= -V withpgpkeys
.endif

URL_RELPREFIX?= ../../../..
DOC_PREFIX?= ${.CURDIR}/../../..

Expand Down

0 comments on commit b6ff19a

Please sign in to comment.