Description: debianization
 Meant to maintain a minimal debian/rules, to fix warnings,
 to address Debian specific stuff in general.
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2014-08-17

--- a/Makefile.am
+++ b/Makefile.am
@@ -14,7 +14,8 @@
 	dist-bzip2 \
 	std-options
 
-#AM_DISTCHECK_CONFIGURE_FLAGS =
+AM_DISTCHECK_CONFIGURE_FLAGS ?= \
+	--with-cxsc=no
 
 SUBDIRS = src lib tst doc
 
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,14 +8,14 @@
 
 EXTERN=$(CURDIR)/bin/@GAPARCH@/extern
 
-libdir = $(GAPROOT)/pkg/$(PACKAGE)/bin/$(GAPARCH)
+gaplibdir = $(libdir)/gap/pkg/$(PACKAGE)/bin
 
-lib_LTLIBRARIES = float.la
+gaplib_LTLIBRARIES = float.la
 
 float_la_SOURCES = floatconfig.h floattypes.h float.c
 float_la_CPPFLAGS = $(GAP_CPPFLAGS)
 float_la_CFLAGS =
-float_la_LDFLAGS = -avoid-version -module
+float_la_LDFLAGS = -avoid-version -module -Wl,--version-script,$(top_srcdir)/debian/float.map
 float_la_LIBADD =
 if WITH_MPFR_IS_YES
 float_la_SOURCES += mpfr.c
