[svnbook commit] r1516 - trunk/src/nb

sunny256 svnbook-dev at red-bean.com
Sun Jul 3 13:13:45 CDT 2005


Author: sunny256
Date: Sun Jul  3 13:13:44 2005
New Revision: 1516

Modified:
   trunk/src/nb/Makefile
Log:
Norwegian svnbook: In the name of Lazyness, create a Makefile rule which 
checks out a copy of the English XML files into src/nb/books/eng/ . Used 
when checking for erroneous differences against the original files.

* src/nb/Makefile
  (engdir): New rule.


Modified: trunk/src/nb/Makefile
==============================================================================
--- trunk/src/nb/Makefile	(original)
+++ trunk/src/nb/Makefile	Sun Jul  3 13:13:44 2005
@@ -76,6 +76,13 @@
 	@read
 	vimdiff $(BDTMP)/norw.txt $(BDTMP)/eng.txt
 
+engdir:
+	@if [ -d book/eng ]; then \
+		svn up -r`cat LAST_UPDATED` book/eng; \
+	else \
+		svn co -r`cat LAST_UPDATED` $(COLLAB)/trunk/src/en/book book/eng; \
+	fi
+
 sync:
 	mkdir sync.LOCK
 	svn update



More information about the svnbook-dev mailing list