Skip to content

Commit 1c760ce

Browse files
author
Barak A. Pearlmutter
committed
Merge branch 'devel'
2 parents 561772b + 14b87cd commit 1c760ce

File tree

5 files changed

+29
-7
lines changed

5 files changed

+29
-7
lines changed

Makefile.am

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414
# or from the Free Software Foundation, 59 Temple Place - Suite 330,
1515
# Boston, MA 02111-1307, USA
1616

17-
SUBDIRS = src man doc
17+
SUBDIRS = src man
18+
19+
if DOCS
20+
SUBDIRS += doc
21+
endif
1822

1923
doc_DATA = README AUTHORS COPYING BUILD.txt ChangeLog NEWS
2024

configure.ac

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ AC_CONFIG_HEADERS([config.h])
2626
AM_INIT_AUTOMAKE([subdir-objects -Wall])
2727

2828
# Process options
29+
AC_MSG_CHECKING([enable_docs])
30+
AC_ARG_ENABLE([docs],
31+
[AS_HELP_STRING([--enable-docs],[build and install LaTeX-format documentation (default=yes)])],,
32+
[enable_docs=yes])
33+
AC_MSG_RESULT([$enable_docs])
34+
AM_CONDITIONAL([DOCS], [test x${enable_docs} = xyes])
35+
2936
AC_MSG_CHECKING([enable_ndebug])
3037
AC_ARG_ENABLE([ndebug],
3138
[AS_HELP_STRING([--enable-ndebug],[enable high speed disable debugging (default=yes)])],,
@@ -74,12 +81,12 @@ AS_IF([test x${with_oaklisp} = xcheck || test x${with_oaklisp} = xyes],
7481
# The options here are for GCC, but -m32 and -mx32 works on amd64 with
7582
# clang, and others might as well.
7683

77-
AC_CANONICAL_HOST
7884
AC_CHECK_SIZEOF([void *])
7985
AS_IF([test x"$ac_cv_sizeof_void_p" = x4],
8086
[AC_MSG_NOTICE([pointer size matches expectations])],
8187
[AC_MSG_WARN([non 32-bit pointer platform detected])
8288
AC_MSG_NOTICE([trying to enable 32-bit memory model compiler option for ${host_cpu}])
89+
AC_CANONICAL_HOST
8390
case "${host_cpu}" in
8491
alpha* )
8592
AC_MSG_ERROR([32-bit memory model unavailable on ${host_cpu}]) ;;
@@ -91,7 +98,7 @@ AS_IF([test x"$ac_cv_sizeof_void_p" = x4],
9198
flag32="-milp32" ;;
9299
mips64* )
93100
flag32="-mabi=32" ;;
94-
ppc64* )
101+
powerpc64* | ppc64* )
95102
flag32="-m32" ;;
96103
s390x* )
97104
flag32="-m31" ;;
@@ -116,7 +123,8 @@ AC_PROG_CC
116123
AC_PROG_INSTALL
117124
AC_PROG_SED
118125
AC_CHECK_PROGS([INDENT],[indent],[true])
119-
AC_CHECK_PROGS([RUBBER],[rubber],[false])
126+
AS_IF([test x${enable_docs} = xyes],
127+
[AC_CHECK_PROGS([RUBBER],[rubber],[false])])
120128

121129
# Checks for libraries.
122130
AS_IF([test x$threads = xyes],

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
oaklisp (1.3.6-2) unstable; urgency=medium
2+
3+
* tweaks to not run LaTeX during build-arch, should help port to 68k
4+
5+
-- Barak A. Pearlmutter <[email protected]> Sun, 15 Mar 2015 11:12:19 +0000
6+
17
oaklisp (1.3.6-1) unstable; urgency=medium
28

39
* new upstream version

debian/control

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ Section: lisp
33
Priority: optional
44
Maintainer: Barak A. Pearlmutter <[email protected]>
55
Standards-Version: 3.9.6
6-
Build-depends:
6+
Build-Depends:
77
debhelper (>= 9),
88
dh-autoreconf,
99
autoconf-archive,
10-
texlive-latex-base, texlive-latex-extra, texlive-fonts-recommended,
11-
rubber,
1210
gcc-multilib [any-alpha any-amd64 any-arm64 any-ia64 any-mips64 any-mips64el any-ppc64 any-ppc64el any-s390x any-sparc64]
11+
Build-Depends-Indep:
12+
texlive-latex-base, texlive-latex-extra, texlive-fonts-recommended,
13+
rubber
1314
Homepage: http://oaklisp.alioth.debian.org/
1415
Vcs-Git: https://alioth.debian.org/anonscm/git/oaklisp/oaklisp.git
1516
Vcs-Browser: https://alioth.debian.org/scm/browser.php?group_id=100056

debian/rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
%:
77
dh $@ --parallel --with autoreconf
88

9+
override_dh_auto_configure-arch:
10+
dh_auto_configure -- --disable-docs
11+
912
override_dh_auto_install:
1013
dh_auto_install
1114
-rm --verbose debian/tmp/usr/share/doc/oaklisp/ChangeLog

0 commit comments

Comments
 (0)