aboutsummaryrefslogtreecommitdiff
path: root/mn_MN.UTF-8
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2012-05-17 02:51:08 +0000
committerHiroki Sato <hrs@FreeBSD.org>2012-05-17 02:51:08 +0000
commit282a032540622ef194d646326406f3349c379554 (patch)
treefeaefb45542a569175c58ea7016463938c1e9e9e /mn_MN.UTF-8
parent2519deaad71bcaff33737e23ebcbd2824782ad0d (diff)
parent84d6e5fb459d9143f8b529749d8cde9face5b5e7 (diff)
downloaddoc-282a032540622ef194d646326406f3349c379554.tar.gz
doc-282a032540622ef194d646326406f3349c379554.zip
- Remove junk directories.
- Repocopy from www/<lang> to head/<lang>/htdocs to eliminate duplicate information in the www and the doc directory. - Add various administration files to svnadmin. Approved by: doceng (implicit)
Notes
Notes: svn path=/head/; revision=38821
Diffstat (limited to 'mn_MN.UTF-8')
-rw-r--r--mn_MN.UTF-8/htdocs/Makefile20
-rw-r--r--mn_MN.UTF-8/htdocs/Makefile.inc4
-rw-r--r--mn_MN.UTF-8/htdocs/doc/Makefile46
3 files changed, 70 insertions, 0 deletions
diff --git a/mn_MN.UTF-8/htdocs/Makefile b/mn_MN.UTF-8/htdocs/Makefile
new file mode 100644
index 0000000000..15ed52df1d
--- /dev/null
+++ b/mn_MN.UTF-8/htdocs/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+###################################################
+# The FreeBSD Mongolian Documentation Project #
+###################################################
+
+.if exists(Makefile.conf)
+.include "Makefile.conf"
+.endif
+.if exists(../Makefile.inc)
+.include "../Makefile.inc"
+.endif
+
+.if !defined(WEB_ONLY) || empty(WEB_ONLY)
+SUBDIR= doc
+.endif
+
+WEBDIR?= data/mn
+
+.include "${WEB_PREFIX}/share/mk/web.site.mk"
diff --git a/mn_MN.UTF-8/htdocs/Makefile.inc b/mn_MN.UTF-8/htdocs/Makefile.inc
new file mode 100644
index 0000000000..ae46ae580f
--- /dev/null
+++ b/mn_MN.UTF-8/htdocs/Makefile.inc
@@ -0,0 +1,4 @@
+# $FreeBSD: www/nl/Makefile.inc,v 1.1 2004/09/27 12:00:03 josef Exp $
+
+WEBBASE?= /data/mn
+WEB_PREFIX?= ${.CURDIR}/../..
diff --git a/mn_MN.UTF-8/htdocs/doc/Makefile b/mn_MN.UTF-8/htdocs/doc/Makefile
new file mode 100644
index 0000000000..a76ba28695
--- /dev/null
+++ b/mn_MN.UTF-8/htdocs/doc/Makefile
@@ -0,0 +1,46 @@
+#
+# $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.conf)
+.include "../Makefile.conf"
+.endif
+.if exists(../Makefile.inc)
+.include "../Makefile.inc"
+.endif
+
+all: all-all all-install
+
+all-all:
+ @unset DESTDIR || true; \
+ cd ${DOC_PREFIX}/${LANGCODE}; \
+ ${MAKE} FORMATS="html-split html" \
+ INSTALL_COMPRESSED= all
+all-install:
+ @unset DESTDIR || true; \
+ cd ${DOC_PREFIX}/${LANGCODE}; \
+ ${MAKE} FORMATS="html-split html" DOCDIR=${.OBJDIR} \
+ INSTALL_COMPRESSED= install
+install clean:
+ @unset DESTDIR || true; \
+ cd ${DOC_PREFIX}/${LANGCODE}; \
+ ${MAKE} FORMATS="html-split html" DOCDIR=${DESTDIR}/data/doc \
+ INSTALL_COMPRESSED= ${.TARGET}
+.if make(clean)
+ ${RM} -rf mn*
+.endif
+
+.include "${WEB_PREFIX}/share/mk/web.site.mk"
+
+obj: _OBJUSE
+
+_OBJUSE: .USE
+ @unset DESTDIR || true; \
+ cd ${DOC_PREFIX}/${LANGCODE}; \
+ ${MAKE} ${.TARGET}