Commit 2fe10250 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2005-03-09 16:40:59 by afrisch] Don't build dtd2cduce

Original author: afrisch
Date: 2005-03-09 16:44:12+00:00
parent 1d67dcad
...@@ -119,7 +119,7 @@ You need a GNU Make (or equivalent). The Makefile defines the following goals: ...@@ -119,7 +119,7 @@ You need a GNU Make (or equivalent). The Makefile defines the following goals:
print a summary of what follows print a summary of what follows
- make all - make all
build binaries and libraries build binaries and libraries (does not build dtd2cduce)
- make cduce - make cduce
compiles the CDuce command line interpreter compiles the CDuce command line interpreter
......
include Makefile.conf include Makefile.conf
VERSION = 0.2.3b1 VERSION = 0.2.3b1
all: cduce dtd2cduce cdo2ml mlcduce_wrapper cduce_lib.cma all: cduce cdo2ml mlcduce_wrapper cduce_lib.cma
ifeq ($(NATIVE),true) ifeq ($(NATIVE),true)
all: cduce_lib.cmxa all: cduce_lib.cmxa
endif endif
...@@ -83,7 +83,7 @@ install: all install_bin install_lib install_doc ...@@ -83,7 +83,7 @@ install: all install_bin install_lib install_doc
install_bin: install_bin:
@echo "Install binaries" @echo "Install binaries"
$(HIDE)mkdir -p $(BINDIR) $(HIDE)mkdir -p $(BINDIR)
$(HIDE)$(INSTALL) -m755 cduce$(EXE) dtd2cduce$(EXE) \ $(HIDE)$(INSTALL) -m755 cduce$(EXE) \
cdo2ml$(EXE) \ cdo2ml$(EXE) \
mlcduce_wrapper$(EXE) \ mlcduce_wrapper$(EXE) \
cduce_mktop $(BINDIR)/ cduce_mktop $(BINDIR)/
...@@ -98,10 +98,10 @@ install_lib: ...@@ -98,10 +98,10 @@ install_lib:
uninstall: uninstall:
rm -f $(BINDIR)/cduce$(EXE) $(BINDIR)/dtd2cduce$(EXE) \ rm -f $(BINDIR)/cduce$(EXE) \
$(BINDIR)/cdo2ml$(EXE) \ $(BINDIR)/cdo2ml$(EXE) \
$(BINDIR)/mlcduce_wrapper$(EXE) $(BINDIR)/cduce_mktop $(BINDIR)/mlcduce_wrapper$(EXE) $(BINDIR)/cduce_mktop
rm -f $(MANDIR)/man1/cduce.1 $(MANDIR)/man1/dtd2cduce.1 \ rm -f $(MANDIR)/man1/cduce.1 \
$(MANDIR)/man1/cdo2ml.1 $(MANDIR)/man1/cdo2ml.1
rm -Rf $(DOCDIR) rm -Rf $(DOCDIR)
ocamlfind remove cduce ocamlfind remove cduce
...@@ -259,7 +259,7 @@ cduce_lib.$(EXTENSION_LIB): $(OBJECTS:.cmo=.$(EXTENSION)) ...@@ -259,7 +259,7 @@ cduce_lib.$(EXTENSION_LIB): $(OBJECTS:.cmo=.$(EXTENSION))
dtd2cduce: tools/dtd2cduce.ml dtd2cduce: tools/dtd2cduce.ml
@echo "Build $@" @echo "Build $@"
-$(HIDE)$(OCAMLFIND) $(CAML) -o $@ -ccopt -static -package "$(PXP_PACK) cgi" -linkpkg $^ $(HIDE)$(OCAMLFIND) $(CAML) -o $@ -ccopt -static -package "$(PXP_PACK) cgi" -linkpkg $^
cduce_validate: $(VALIDATE_OBJECTS:.cmo=.$(EXTENSION)) tools/validate.$(EXTENSION) cduce_validate: $(VALIDATE_OBJECTS:.cmo=.$(EXTENSION)) tools/validate.$(EXTENSION)
@echo "Build $@" @echo "Build $@"
......
...@@ -242,9 +242,6 @@ let pxp,expat = ...@@ -242,9 +242,6 @@ let pxp,expat =
| false,false -> | false,false ->
warning "No package for parsing XML documents."; warning "No package for parsing XML documents.";
false,false false,false
| false,n ->
warning "PXP not available: won't build dtd2cduce";
false,n
| c,n -> c,n | c,n -> c,n
let required_packages = let required_packages =
......
MAN = cduce.1 dtd2cduce.1 cduce_validate.1 cdo2ml.1 cduce_mktop.1 MAN = cduce.1 dtd2cduce.1 cduce_validate.1 cdo2ml.1 cduce_mktop.1
INSTALL_MAN = cduce.1 cdo2ml.1 cduce_mktop.1
all: $(MAN) all: $(MAN)
...@@ -9,4 +10,4 @@ all: $(MAN) ...@@ -9,4 +10,4 @@ all: $(MAN)
install: install:
@echo "Install man pages" @echo "Install man pages"
$(HIDE)$(INSTALL) -m644 $(MAN) $(MANDIR)/man1/ $(HIDE)$(INSTALL) -m644 $(INSTALL_MAN) $(MANDIR)/man1/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment