From: <ow...@us...> - 2009-06-21 15:20:39
|
Revision: 3103 http://ipcop.svn.sourceforge.net/ipcop/?rev=3103&view=rev Author: owes Date: 2009-06-21 15:20:36 +0000 (Sun, 21 Jun 2009) Log Message: ----------- We can now make docs from the top-level directory. Default is English language only. Build other languages using: make LANG=de or make LANG=fr Will need to fix German and French Makefile/structure/etc. first to actually build those. Modified Paths: -------------- IPCopDoc/trunk/en/Makefile IPCopDoc/trunk/en/admin/Makefile IPCopDoc/trunk/en/install/Makefile Added Paths: ----------- IPCopDoc/trunk/Makefile Added: IPCopDoc/trunk/Makefile =================================================================== --- IPCopDoc/trunk/Makefile (rev 0) +++ IPCopDoc/trunk/Makefile 2009-06-21 15:20:36 UTC (rev 3103) @@ -0,0 +1,24 @@ +# +# $Id$ +# + +# 'Make' the documentation for other languages using: make LANG=de +LANG = en +# Can we do this more clever? Without changing the Makefile on version upgrades? +IPCOP_VERSION = 2.0.0 + +export + + +SUBDIRS = install admin + +.PHONY : subdirs $(SUBDIRS) all clean +all : subdirs + +clean : + $(MAKE) -C $(LANG) clean + +subdirs : $(SUBDIRS) + +$(SUBDIRS): + $(MAKE) -C $(LANG)/$@ Property changes on: IPCopDoc/trunk/Makefile ___________________________________________________________________ Added: svn:keywords + Id Modified: IPCopDoc/trunk/en/Makefile =================================================================== --- IPCopDoc/trunk/en/Makefile 2009-06-21 15:03:06 UTC (rev 3102) +++ IPCopDoc/trunk/en/Makefile 2009-06-21 15:20:36 UTC (rev 3103) @@ -4,12 +4,6 @@ # Makefile for IPCopDoc/en - IPCop Firewall English Documentation Project # -# These settings need to come from elsewhere -IPCOP_LANG = en -IPCOP_VERSION = 2.0.0 - -export - SUBDIRS = install admin .PHONY : subdirs $(SUBDIRS) all clean Modified: IPCopDoc/trunk/en/admin/Makefile =================================================================== --- IPCopDoc/trunk/en/admin/Makefile 2009-06-21 15:03:06 UTC (rev 3102) +++ IPCopDoc/trunk/en/admin/Makefile 2009-06-21 15:20:36 UTC (rev 3103) @@ -5,6 +5,6 @@ html/index.html: xml/*.xml xmlto -m ../../html.xsl -x $(DOCBOOK_XSL_DIR)/html/tldp-sections.xsl -o html html xml/admin.xml - dblatex xml/admin.xml -o ipcop-admin-$(IPCOP_LANG)-$(IPCOP_VERSION).pdf + dblatex xml/admin.xml -o ipcop-admin-$(LANG)-$(IPCOP_VERSION).pdf include ../../Makefile.rules Modified: IPCopDoc/trunk/en/install/Makefile =================================================================== --- IPCopDoc/trunk/en/install/Makefile 2009-06-21 15:03:06 UTC (rev 3102) +++ IPCopDoc/trunk/en/install/Makefile 2009-06-21 15:20:36 UTC (rev 3103) @@ -5,6 +5,6 @@ html/index.html: xml/*.xml xmlto -m ../../html.xsl -x $(DOCBOOK_XSL_DIR)/html/tldp-sections.xsl -o html html xml/install.xml - dblatex xml/install.xml -o ipcop-install-$(IPCOP_LANG)-$(IPCOP_VERSION).pdf + dblatex xml/install.xml -o ipcop-install-$(LANG)-$(IPCOP_VERSION).pdf include ../../Makefile.rules This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |