Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
d482f239
Commit
d482f239
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2003-11-16 22:32:37 by beppe] Modified to take into account Cygwin
Original author: beppe Date: 2003-11-16 22:32:37+00:00
parent
ff0b6af7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.distrib
View file @
d482f239
include
Makefile.conf
VERSION
=
0.2.0-pre1
NAME
=
cduce
PACKAGES
=
pxp-engine pxp-lex-iso88591 ulex camlp4 num cgi pcre netstring
ifeq
($(PXP_WLEX), true)
...
...
@@ -8,6 +9,17 @@ else
PACKAGES
+=
pxp-lex-utf8
endif
#
# Check if running Cygwin
#
ifneq
(,$(findstring Cygwin, $(shell echo "let _ = Sys.os_type" | ocaml)))
EXE
=
.exe
else
EXE
=
endif
SYNTAX
=
-I
misc/ q_symbol.cmo
\
-symbol
cduce_version
=
\"
$(VERSION)
\"
\
-symbol
build_date
=
\"
$(
shell
date
+%Y-%m-%d
)
\"
\
...
...
@@ -60,16 +72,20 @@ else
LINK
=
$(CAMLC)
-custom
-linkpkg
gramlib.cma
endif
INSTALL
:=
$(
shell
which
install
)
all
:
cduce dtd2cduce validate
install
:
all
mkdir
-p
$(PREFIX)
/bin/
mkdir
-p
$(PREFIX)
/man/man1/
install
-m755
cduce dtd2cduce
$(PREFIX)
/bin/
install
-m644
doc/cduce.1
$(PREFIX)
/man/man1/
$(INSTALL)
-m755
cduce
$(EXE)
dtd2cduce
$(EXE)
$(PREFIX)
/bin/
$(INSTALL)
-m644
doc/cduce.1
$(PREFIX)
/man/man1/
uninstall
:
rm
$(PREFIX)
/bin/cduce
$(PREFIX)
/bin/dtd2cduce
$(PREFIX)
/man/man1/cduce.1
rm
$(PREFIX)
/bin/cduce
$(EXE)
$(PREFIX)
/bin/dtd2cduce
$(EXE)
$(PREFIX)
/man/man1/cduce.1
# Source directories
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment