diff options
| author | Inari Listenmaa <inari.listenmaa@gmail.com> | 2025-08-03 14:47:24 +0200 |
|---|---|---|
| committer | Andreas Källberg <anka.213@gmail.com> | 2025-08-08 18:11:52 +0200 |
| commit | 4fea7cf37fb76516d90f351d91aac13ca8d76fce (patch) | |
| tree | 4b3b69f16e3dc3bd33e5935d24c256f31b973b23 /debian | |
| parent | e7c0b6dada71f16160aa60e6fed6251280cbaf16 (diff) | |
Update release scripts for 3.12
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/control | 2 | ||||
| -rwxr-xr-x | debian/rules | 12 |
2 files changed, 8 insertions, 6 deletions
diff --git a/debian/control b/debian/control index 12eb6b9d9..729d81382 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: devel Priority: optional Maintainer: Thomas Hallgren <hallgren@chalmers.se> 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), libghc-haskeline-dev, libghc-mtl-dev, libghc-json-dev, autoconf, automake, libtool-bin, python-dev-is-python3, java-sdk Homepage: http://www.grammaticalframework.org/ Package: gf diff --git a/debian/rules b/debian/rules index 7ec04b4e2..9969fe56e 100755 --- a/debian/rules +++ b/debian/rules @@ -16,7 +16,7 @@ override_dh_shlibdeps: override_dh_auto_configure: cd src/runtime/c && bash setup.sh configure --prefix=/usr cd src/runtime/c && bash setup.sh build - cabal v1-update + cabal update cabal v1-install --only-dependencies cabal v1-configure --prefix=/usr -fserver -fc-runtime --extra-lib-dirs=$(CURDIR)/src/runtime/c/.libs --extra-include-dirs=$(CURDIR)/src/runtime/c @@ -24,7 +24,7 @@ SET_LDL=LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(CURDIR)/src/runtime/c/.libs 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 + # cd src/runtime/java && make CFLAGS="-I$(CURDIR)/src/runtime/c -L$(CURDIR)/src/runtime/c/.libs" INSTALL_PATH=/usr echo $(SET_LDL) -$(SET_LDL) cabal v1-build @@ -32,13 +32,15 @@ override_dh_auto_install: $(SET_LDL) cabal v1-copy --destdir=$(CURDIR)/debian/gf cd src/runtime/c && bash setup.sh copy prefix=$(CURDIR)/debian/gf/usr cd src/runtime/python && python setup.py install --prefix=$(CURDIR)/debian/gf/usr - cd src/runtime/java && make INSTALL_PATH=$(CURDIR)/debian/gf/usr install - D="`find debian/gf -name site-packages`" && [ -n "$$D" ] && cd $$D && cd .. && mv site-packages dist-packages + # cd src/runtime/java && make INSTALL_PATH=$(CURDIR)/debian/gf/usr install + # D="`find debian/gf -name dist-packages`" && [ -n "$$D" ] && cd $$D && cd .. && mv dist-packages dist-packages + +override_dh_usrlocal: override_dh_auto_clean: rm -fr dist/build -cd src/runtime/python && rm -fr build - -cd src/runtime/java && make clean + # -cd src/runtime/java && make clean -cd src/runtime/c && make clean override_dh_auto_test: |
