projects
/
ocaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a81b94
)
Tell debhelper to ignore ocaml-native-compilers on byte-only architectures
author
Stephane Glondu
<steph@glondu.net>
Fri, 20 Feb 2009 08:00:20 +0000
(09:00 +0100)
committer
Stephane Glondu
<steph@glondu.net>
Fri, 20 Feb 2009 08:39:44 +0000
(09:39 +0100)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index 0bbd8a9331607df80f432368082b5884e8f72c64..1c131b2e57a18c22fd8ac6aed48ec7199e1a609b 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-27,6
+27,11
@@
SRCTARBALL = $(PACKAGE)-source-$(OCAML_ABI).tar.bz2
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+export DH_OPTIONS
+ifeq ($(OCAML_OPT_ARCH),)
+ DH_OPTIONS += -Nocaml-native-compilers
+endif
+
# This has to be exported to make gen_modules work
export OCAML_OPT_ARCH
export OCAML_STDLIB_DIR