en Automatique
License: QPL-1 | LGPL-2 | other
-Files: otherlibs/labltk/*
-Copyright: © 1999-2002 Institut National de Recherche en Informatique et
- en Automatique and Kyoto University
-License: LGPL-2 | other
-
Files: emacs/*
Copyright: © 1988-1991 Free Software Foundation
© 1996-1998 Institut National de Recherche en Informatique et
-libdir $(DEB_TEST_BUILD_PREFIX)$(OCAML_STDLIB_DIR) \
-x11lib "$(shell pkg-config --variable=libdir x11)" \
-mandir $(DEB_TEST_BUILD_PREFIX)/usr/share/man \
- -tkdefs "-I/usr/include/tcl" \
- -tklibs "-L/usr/lib -ltk -ltcl"
CONFIGURE_SED := \
-e "/LIBBFD_LINK/s%-lbfd%-Wl,-Bstatic -lbfd -Wl,-Bdynamic%" \
config-stamp: pre-config-stamp ocamlinit-stamp
./configure $(CONFIGURE_OPTS)
sed -i $(CONFIGURE_SED) config/Makefile
- if test -z "`grep "OTHERLIBRARIES.*labltk" config/Makefile`"; then \
- echo "Error, labltk library was not detected"; \
- echo "Check your tcl/tk development packages"; \
- echo "Aborting."; \
- exit 1; \
- fi
touch $@
.PHONY: override_dh_auto_build
cp -xa boot boot.debian; \
fi
rm -Rf debian/examples && mkdir debian/examples
- cp -a otherlibs/labltk/examples_labltk debian/examples/labltk
- find debian/examples/labltk -name .cvsignore -delete
ifeq ($(BUILDCACHE),)
$(MAKE) world
$(MAKE) bootstrap
fi
# Install additional files not handled by dh_install
# Beware: dh_install does not handle renamings, please pay attention
- cp otherlibs/labltk/README debian/ocaml/usr/share/doc/ocaml/README.labltk
for u in dumpobj; do \
if [ -f tools/$$u ]; then \
cp tools/$$u debian/ocaml-nox/usr/bin/ocaml$$u; \
# Remaining stuff
touch $@
-.PHONY: override_dh_compress
-override_dh_compress:
- dh_compress -Xexamples/labltk
-
.PHONY: override_dh_gencontrol
override_dh_gencontrol:
for u in $(ALL_PACKAGES); do \