mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 13:09:33 -06:00
Also updated the debian/* files. It should now be easy to create Debian packages under Ubuntu 11.10 & 12.04. See also the notes in the Makefile.
25 lines
405 B
Makefile
25 lines
405 B
Makefile
#!/usr/bin/make -f
|
|
|
|
%:
|
|
+dh $@
|
|
|
|
override_dh_auto_build:
|
|
cabal build
|
|
|
|
override_dh_auto_clean:
|
|
rm -fr dist/build
|
|
|
|
override_dh_auto_configure:
|
|
cabal update
|
|
cabal install --only-dependencies
|
|
cabal configure --prefix=/usr -fserver
|
|
|
|
override_dh_auto_install:
|
|
cabal copy --destdir=$(CURDIR)/debian/gf
|
|
|
|
override_dh_auto_test:
|
|
ifneq (nocheck,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
|
true
|
|
# cabal test
|
|
endif
|