######################################################################## # # $Id: Makefile.in,v 1.16 2006/05/26 19:33:28 mavrik Exp $ # ######################################################################## # # Purpose: Makefile for the project's doc directory. # ######################################################################## #.SILENT: prefix = @prefix@ exec_prefix = @exec_prefix@ docdir = @docdir@ mandir = @mandir@ man1dir = ${mandir}/man1 srcdir = @srcdir@ VPATH = ${srcdir} INSTALL = @INSTALL@ SUBDIRS = webjob webjob-dsvtool ALL_HTML_FILES = @html_files@ ALL_MAN1_FILES = @man1_files@ all: test: install: install-man install-html: ${ALL_HTML_FILES} @umask 22; if [ ! -d ${docdir} ]; then mkdir -p ${docdir}; fi @for i in ${ALL_HTML_FILES}; do\ if [ -f ${srcdir}/$${i} ]; then file=${srcdir}/$${i}; else file=$${i}; fi;\ ${INSTALL} -m 644 $${file} ${docdir};\ done install-man: ${ALL_MAN1_FILES} @umask 22; if [ ! -d ${man1dir} ]; then mkdir -p ${man1dir}; fi @for i in ${ALL_MAN1_FILES}; do\ if [ -f ${srcdir}/$${i} ]; then file=${srcdir}/$${i}; else file=$${i}; fi;\ ${INSTALL} -m 644 $${file} ${man1dir};\ done clean: clean-all: clean rm -f Makefile dist: @if [ "${srcdir}" != `echo "@""srcdir""@"` ]; then\ echo "";\ echo "ERROR: The 'dist' target is for release building, and is not VPATH";\ echo " aware. To exercise this target, get into the project's doc";\ echo " directory and run: 'make -f Makefile.in dist'";\ echo "";\ exit 1;\ fi @cwd=`pwd`; for i in ${SUBDIRS}; do\ echo '===>' doc/$${i} && cd $${cwd}/$${i} && ${MAKE} install ;\ done dist-clean: @if [ "${srcdir}" != `echo "@""srcdir""@"` ]; then\ echo "";\ echo "ERROR: The 'dist-clean' target is for release building, and is not";\ echo " VPATH aware. To exercise this target, get into the project's";\ echo " doc directory and run: 'make -f Makefile.in dist-clean'";\ echo "";\ exit 1;\ fi @cwd=`pwd`; for i in ${SUBDIRS}; do\ echo '===>' doc/$${i} && cd $${cwd}/$${i} && ${MAKE} clean-all ;\ done rm -f Makefile ${ALL_HTML_FILES} ${ALL_MAN1_FILES}