debian swirl logo

Back to the packages list haskell-hoogle

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk

DEB_SETUP_GHC_CONFIGURE_ARGS := --datasubdir=/usr/share/hoogle
HOOGLE_RESDIR := debian/hoogle/usr/share/hoogle/resources
FILES_HOOGLE := debian/files_hoogle

binary-fixup/hoogle::
		sed -i -e "s/res\//hoogle\/res\//g" $(HOOGLE_RESDIR)/template.html
	sed -i -e "s/action= \"\.\"/action=\"\.\/hoogle\"/g" $(HOOGLE_RESDIR)/template.html
		install $(FILES_HOOGLE)/update-hoogle debian/hoogle/usr/sbin/

clean::
		cd $(FILES_HOOGLE)/ && rm -f haddock-collect haddock-collect.hi haddock-collect.o

Builds:

hoogle
haskell api search for debian system
libghc-hoogle-dev
haskell api search
libghc-hoogle-doc
haskell api search; documentation
libghc-hoogle-prof
haskell api search; profiling libraries