From e608a63f808cd062a2485dbd3aea157f014d3582 Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 16 Jun 2016 13:54:15 +0000 Subject: [PATCH] debian: add txt2tags to Build-Depends and run 'make html' as part of the build This is to make sure that gf-web-api.html gets included in the .deb package and is available locally in the GF cloud when running gf -server. --- debian/control | 2 +- debian/rules | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index f11312a55..76853e7f8 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: devel Priority: optional Maintainer: Thomas Hallgren Standards-Version: 3.9.2 -Build-Depends: debhelper (>= 5), haskell-platform (>= 2011.2.0.1), libghc-haskeline-dev, libghc-mtl-dev, libghc-json-dev, autoconf, automake, libtool-bin, python-dev, java-sdk +Build-Depends: debhelper (>= 5), haskell-platform (>= 2011.2.0.1), libghc-haskeline-dev, libghc-mtl-dev, libghc-json-dev, autoconf, automake, libtool-bin, python-dev, java-sdk, txt2tags Homepage: http://www.grammaticalframework.org/ Package: gf diff --git a/debian/rules b/debian/rules index 366d923e5..14cad5c19 100644 --- a/debian/rules +++ b/debian/rules @@ -18,6 +18,7 @@ override_dh_auto_build: cd src/runtime/java && make CFLAGS="-I$(CURDIR)/src/runtime/c -L$(CURDIR)/src/runtime/c/.libs" INSTALL_PATH=/usr/lib echo LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(CURDIR)/src/runtime/c/.libs LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(CURDIR)/src/runtime/c/.libs cabal build + make html override_dh_auto_clean: rm -fr dist/build