Package: gap-float / 0.9.1+ds-6

upstream-autotoolization-cleanup.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Description: cleanup autotools machinery
Origin: vendor, Debian
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2018-09-28

--- a/configure.ac
+++ b/configure.ac
@@ -8,7 +8,7 @@
 
 AC_PREREQ(2.65)
 LT_PREREQ([2.4.2])
-AC_INIT([float],[0.5.18],[laurent.bartholdi@gmail.com])
+AC_INIT([float],[0.9.1],[laurent.bartholdi@gmail.com])
 AC_CONFIG_SRCDIR([src/float.c])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
@@ -54,9 +54,9 @@
 ################################################################
 # generate files
 
-mkdir -p bin/$GAPARCH
-mkdir -p extern
-
+##mkdir -p bin/$GAPARCH
+##mkdir -p extern
+##
 ##CONFIG_STATUS=bin/$GAPARCH/config.status
 ##
 ##AC_CONFIG_FILES([$GAP_MAKEFILE:Makefile.in])
@@ -68,5 +68,7 @@
 AC_CONFIG_FILES([
 	Makefile
 	src/Makefile
+	lib/Makefile
+	tst/Makefile
 	])
 AC_OUTPUT
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -16,6 +16,7 @@
 	fplll.gi \
 	cxsc.gi \
 	polynomial.gi \
+	pslq.gi \
 	pickle.g
 
 EXTRA_DIST = \
--- a/Makefile.am
+++ b/Makefile.am
@@ -14,28 +14,20 @@
 
 #AM_DISTCHECK_CONFIGURE_FLAGS =
 
-SUBDIRS = src
+SUBDIRS = src lib tst
 
-EXTRA_DIST =
+pkgdatadir = @datadir@/gap/pkg/@PACKAGE@
 
-VERSION:=$(shell grep '^Version :=' PackageInfo.g | cut -f2 -d'"')
-
-LOCALBIN=bin/@GAPARCH@
+pkgdata_DATA = \
+	PackageInfo.g \
+	init.g \
+	read.g
 
-Changelog:
-	gitlog-to-changelog > $@
+EXTRA_DIST = \
+	$(pkgdata_DATA)
 
-doc: doc/float.xml gap/*.gd
-	@GAPROOT@/bin/gap.sh -A makedoc.g
+export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner
 
-checkblocks:
-	grep '<#GAPDoc' PackageInfo.g lib/*d | awk -F'"' '{print $$2}' | sort > @@-blocks
-	grep '<#Include' doc/float.xml | awk -F'"' '{print $$2}' | sort > @@-in
-	comm -3 @@-blocks @@-in
-	@rm @@-blocks @@-in
-
-all: all-recursive
-	mkdir -p bin/@GAPARCH@
-	cp src/.libs/float.so bin/@GAPARCH@/
+VERSION:=$(shell grep '^Version :=' PackageInfo.g | cut -f2 -d'"')
 
 #E Makefile.am . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here