W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2009

html5/tools/hv .cvsignore,NONE,1.1 Makefile,NONE,1.1 h5dtck,NONE,1.1 patch-rnv,NONE,1.1

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 03 Aug 2009 09:46:45 +0000
To: public-html-commits@w3.org
Message-Id: <E1MXu7x-0001rI-B5@lionel-hutz.w3.org>
Update of /sources/public/html5/tools/hv
In directory hutz:/tmp/cvs-serv7113

Added Files:
	.cvsignore Makefile h5dtck patch-rnv 
Log Message:
initial add


--- NEW FILE: .cvsignore ---
hv
rnv-1.7.8
rnv-1.7.8.zip
rnv-1.7.8-modified

--- NEW FILE: h5dtck ---
#!/bin/sh

--- NEW FILE: patch-rnv ---
diff -u rnv-1.7.8/dxl.h rnv-1.7.8-modified/dxl.h
--- rnv-1.7.8/dxl.h	2006-11-02 17:54:08.000000000 +0900
+++ rnv-1.7.8-modified/dxl.h	2009-08-03 18:07:00.000000000 +0900
@@ -7,7 +7,9 @@
 #define DXL_EXC 0
 #endif
 
+#ifndef DXL_URL
 #define DXL_URL "http://davidashen.net/relaxng/pluggable-datatypes"
+#endif
 
 extern char *dxl_cmd;
 
diff -u rnv-1.7.8/Makefile rnv-1.7.8-modified/Makefile
--- rnv-1.7.8/Makefile	2006-11-02 17:54:08.000000000 +0900
+++ rnv-1.7.8-modified/Makefile	2009-08-03 17:40:39.000000000 +0900
@@ -46,6 +46,10 @@
 DEF+=-DDXL_EXC=${DXL_EXC}
 endif
 
+ifneq (${DXL_URL},)
+DEF+=-DDXL_URL=${DXL_URL}
+endif
+
 LIBRNVA=librnv.a
 LIBRNVSO=librnv.so
 LIBRNV=${LIBRNVA}

--- NEW FILE: Makefile ---
RNVBASE=http://ftp.davidashen.net/PreTI/RNV/
RNVZIP=rnv-1.7.8.zip

WGET=wget
WGETFLAGS=

UNZIP=unzip
UNZIPFLAGS=

PATCH=patch
PATCHFLAGS=-p0

hv: rnv-1.7.8/rnv
	cp $< $@

rnv-1.7.8:
	$(WGET) $(WGETFLAGS) $(RNVBASE)$(RNVZIP)
	$(UNZIP) $(UNZIPFLAGS) $(RNVZIP)

rnv-1.7.8/rnv: rnv-1.7.8 patch-rnv
	-$(PATCH) $(PATCHFLAGS) < patch-rnv
	$(MAKE) -C rnv-1.7.8 DXL_EXC=1 DXL_URL='\"http://whattf.org/datatype-draft\"'

test: test/test.log

test/test.log:
	$(MAKE) -C test

clean:
	$(RM) hv
	$(MAKE) -C test clean
	-$(MAKE) -C rnv-1.7.8 clean

realclean: clean
	$(RM) $(RNVZIP)
	$(RM) -r rnv-1.7.8
Received on Monday, 3 August 2009 09:46:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 3 August 2009 09:47:03 GMT