1
0
forked from GitHub/gf-core
Files
gf-core/debian/rules
hallgren 098ddc129e Add 'make deb' to Makefile, for creating Debian packages
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.
2012-08-22 17:25:10 +00:00

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