debian swirl logo

Back to the packages list haskell-ekg

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk

DEB_GHC_EXTRA_PACKAGES := libghc-ekg-data (>= $(CABAL_VERSION))

MIN_JS = debian/jquery-1.6.4.min.js debian/jquery.flot.min.js

install/libghc-ekg-data:: debian/tmp-inst-ghc
		mv debian/tmp-inst-ghc/usr/share/ekg \
		   debian/libghc-ekg-data/usr/share
		for i in $(MIN_JS); do \
		  install -m 0644 \
		  $$i debian/libghc-ekg-data/usr/share/ekg/assets/ ; \
		done

debian/%.min.js: assets/%.js
		uglifyjs -o $@ $<

.PHONY: minify-js

minify-js: $(MIN_JS)

Builds:

libghc-ekg-data
remote monitoring of haskell processes over http - common files
libghc-ekg-dev
remote monitoring of haskell processes over http${haskell:shortblurb}
libghc-ekg-doc
remote monitoring of haskell processes over http${haskell:shortblurb}
libghc-ekg-prof
remote monitoring of haskell processes over http${haskell:shortblurb}