aboutsummaryrefslogblamecommitdiff
path: root/da_DK.ISO8859-1/htdocs/doc/Makefile
blob: 7523074d73175c08b3bca0c24ed692c0e1fa0ab8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
 
           







                                                                           


                           




                                 
                                            



                                                   
                                            



                                                                     
                                            


                                                                              
                     

      
                                             






                                                      
#
# $FreeBSD$
#
# Build the FreeBSD documentation *outside* of the www tree, and install it
# in to the right place as necessary.
#
# This assumes that you have the www/ and doc/ trees checked out beside
# one another -- this was always the case anyway, so there are no extra
# requirements here.
#
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif

all: all-all all-install

all-all:
	@unset DESTDIR || true; \
	 cd ${DOC_PREFIX}/da_DK.ISO8859-1; \
		${MAKE} FORMATS="html-split html" \
			INSTALL_COMPRESSED= all
all-install:
	@unset DESTDIR || true; \
	 cd ${DOC_PREFIX}/da_DK.ISO8859-1; \
		${MAKE} FORMATS="html-split html" DOCDIR=${.OBJDIR} \
			INSTALL_COMPRESSED= install
install clean:
	@unset DESTDIR || true; \
	 cd ${DOC_PREFIX}/da_DK.ISO8859-1; \
		${MAKE} FORMATS="html-split html" DOCDIR=${DESTDIR}/data/doc \
			INSTALL_COMPRESSED= ${.TARGET}
.if make(clean)
	${RM} -rf da*
.endif

.include "${DOC_PREFIX}/share/mk/web.site.mk"

obj: _OBJUSE

_OBJUSE: .USE
	@unset DESTDIR || true; \
	 cd ${.CURDIR}/../../../doc/da_DK.ISO8859-1; \
		${MAKE} ${.TARGET}