summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorThomas Hallgren <th-github@altocumulus.org>2019-08-07 20:15:28 +0200
committerThomas Hallgren <th-github@altocumulus.org>2019-08-07 20:15:28 +0200
commitb77626b802b2152508ba62e1d36accf85ae30a95 (patch)
tree691e673db23948417bbdcdecafc8f13ed42495e0 /debian
parent12f2520b3c68ba68d42a52931663a0f5e31a5bca (diff)
debian/rules: fix two build problems
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 428801e94..36e6ce706 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,8 +26,8 @@ override_dh_auto_build:
cd src/runtime/python && EXTRA_INCLUDE_DIRS=$(CURDIR)/src/runtime/c EXTRA_LIB_DIRS=$(CURDIR)/src/runtime/c/.libs python setup.py build
cd src/runtime/java && make CFLAGS="-I$(CURDIR)/src/runtime/c -L$(CURDIR)/src/runtime/c/.libs" INSTALL_PATH=/usr/lib
echo $(SET_LDL)
- $(SET_LDL) cabal build # builds gf, fails to build example grammars
- PATH=$(CURDIR)/dist/build/gf:$$PATH && make -C ../gf-rgl build
+ -$(SET_LDL) cabal build # builds gf, fails to build example grammars
+ export $(SET_LDL); PATH=$(CURDIR)/dist/build/gf:$$PATH && make -C ../gf-rgl build
GF_LIB_PATH=$(CURDIR)/../gf-rgl/dist $(SET_LDL) cabal build # have RGL now, ok to build example grammars
make html