debian swirl logo

Back to the packages list xmonad

#!/usr/bin/make -f

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

build/xmonad::
		ghc util/GenerateManpage.hs
		util/GenerateManpage

install/xmonad::
		dh_installwm
		cp dist-ghc/build/xmonad/xmonad debian/xmonad/usr/bin/xmonad
	# Pure xmonad session
		install -D -m 0644 debian/xmonad-session.desktop debian/xmonad/usr/share/xsessions/xmonad.desktop
	# xmonad as window manager (gnome 2)
		install -D -m 0644 debian/xmonad.desktop debian/xmonad/usr/share/applications/xmonad.desktop
	# xmonad+gnome3 session
		install -D -m 0644 debian/gnome-xmonad.desktop debian/xmonad/usr/share/xsessions/gnome-xmonad.desktop
		install -D -m 0644 debian/xmonad.session debian/xmonad/usr/share/gnome-session/sessions/xmonad.session
		install -D -m 0755 debian/gnome-session-xmonad debian/xmonad/usr/bin/gnome-session-xmonad

clean::
		rm -f man/xmonad.1 man/xmonad.1.html
		rm -f util/GenerateManpage \
		    util/GenerateManpage.o \
		    util/GenerateManpage.hi

Builds:

libghc-xmonad-dev
lightweight x11 window manager${haskell:shortblurb}
libghc-xmonad-doc
lightweight x11 window manager${haskell:shortblurb}
libghc-xmonad-prof
lightweight x11 window manager${haskell:shortblurb}
xmonad
lightweight x11 window manager written in haskell