File: xml-light-2.2.patch

package info (click to toggle)
jocaml 4.01.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 16,736 kB
  • ctags: 23,836
  • sloc: ml: 111,262; ansic: 32,746; sh: 6,057; lisp: 4,230; makefile: 3,861; asm: 3,734; awk: 88; perl: 45; fortran: 21; sed: 19; cs: 9
file content (19 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- xml-light/Makefile	2003-10-12 11:16:12.000000000 +0200
+++ xml-light-2.2/Makefile	2010-01-23 20:57:57.000000000 +0100
@@ -2,7 +2,7 @@
 # http://tech.motion-twin.com
 .SUFFIXES : .ml .mli .cmo .cmx .cmi .mll .mly
 
-INSTALLDIR=`ocamlc -where`
+INSTALLDIR=`ocamlc -where`/xml-light
 CFLAGS=
 LFLAGS= -a
 LIBS=
@@ -12,6 +12,7 @@
 opt: xml-light.cmxa test_opt.exe
 
 install: all opt
+	mkdir -p "${INSTALLDIR}"
 	cp xml-light.cmxa xml-light.a xml-light.cma xml.mli xmlParser.mli dtd.mli xml.cmi xmlParser.cmi dtd.cmi xml.cmx dtd.cmx xmlParser.cmx $(INSTALLDIR)
 
 doc: