config root man

Current Path : /usr/src/release/doc/share/examples/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/release/doc/share/examples/Makefile.relnotesng

# -*- makefile -*-
#
# $FreeBSD: release/9.1.0/release/doc/share/examples/Makefile.relnotesng 243705 2012-11-30 16:15:35Z hrs $
#
# Sample makefile for rendering and uploading RELNOTESng files outside
# the build tree.
#

ARCHS=		amd64 ia64 i386 pc98 powerpc sparc64
MULTITEXTS=	
UNITEXTS=	hardware readme relnotes errata

IMAGEDIR=	.imagedir
RHOST=		freefall.freebsd.org
RDIR=		public_html/relnotes/releng/9.1
DOCDIR=		./release/doc
LANG=		en_US.ISO8859-1

DOC_PREFIX?=	/usr/doc
CSS_SHEET?=	${DOC_PREFIX}/share/misc/docbook.css
FORMATS?=	html txt pdf

BUILD_OPTIONS+=	URLS_ABSOLUTE=YES

all:
	(cd ${DOCDIR}; ${MAKE} DOC_PREFIX=${DOC_PREFIX} FORMATS="${FORMATS}" ${BUILD_OPTIONS} all)

lint:
	(cd ${DOCDIR}; ${MAKE} DOC_PREFIX=${DOC_PREFIX} lint)

image:	all
	@echo "#"
	@echo "# Creating local image"
	@echo "#"
	rm -rf ${IMAGEDIR}
	mkdir ${IMAGEDIR}
	cp -p ${CSS_SHEET} ${IMAGEDIR}/docbook.css
	for i in ${ARCHS}; do \
		for j in ${MULTITEXTS}; do \
			for k in ${FORMATS}; do \
	cp -p ${DOCDIR}/${LANG}/$${j}/$${i}/article.$${k} ${IMAGEDIR}/$${j}-$${i}.$${k} ; \
			done; \
		done; \
	done
	for j in ${UNITEXTS}; do \
		for k in ${FORMATS}; do \
	cp -p ${DOCDIR}/${LANG}/$${j}/article.$${k} ${IMAGEDIR}/$${j}.$${k} ; \
		done; \
	done

push:	image
	@echo "#"
	@echo "# Pushing to ${RHOST}"
	@echo "#"
#	(cd ${IMAGEDIR}; tar -cf - .) | gzip -c -9 | (ssh ${RHOST} "( cd ${RDIR}; gunzip -c | tar -xf -)" )
	(cd ${IMAGEDIR}; rsync -azuv * ${RHOST}:${RDIR})
	rm -rf ${IMAGEDIR}

clean:
	(cd ${DOCDIR}; ${MAKE} DOC_PREFIX=${DOC_PREFIX} FORMATS="${FORMATS}" clean)
	rm -rf ${IMAGEDIR}

Man Man