File: rules

package info (click to toggle)
ghc-mod 5.6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,216 kB
  • ctags: 240
  • sloc: haskell: 8,323; lisp: 1,557; makefile: 40; sh: 34
file content (16 lines) | stat: -rwxr-xr-x 579 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk

DEB_EMACS_PRIORITY = 51

build/ghc-mod :: build-ghc-stamp

install/ghc-mod :: debian/tmp-inst-ghc
	mkdir -p debian/ghc-mod/usr/bin
	cp debian/tmp-inst-ghc/usr/bin/ghc-mod debian/ghc-mod/usr/bin/
	cp debian/tmp-inst-ghc/usr/bin/ghc-modi debian/ghc-mod/usr/bin

install/ghc-mod-el :: debian/tmp-inst-ghc
	mkdir -p debian/ghc-mod-el/usr/share/emacs/site-lisp/ghc-mod
	cp debian/tmp-inst-ghc/usr/share/ghc-mod/elisp/*.el debian/ghc-mod-el/usr/share/emacs/site-lisp/ghc-mod/