diff -up ./Makefile.fix ./Makefile --- ./Makefile.fix 2009-08-13 20:41:26.000000000 +0530 +++ ./Makefile 2009-08-13 21:04:10.000000000 +0530 @@ -1,4 +1,9 @@ EMACS = emacs +EMACS_LISPDIR = /usr/share/emacs/site-lisp/ +EMACS_STARTDIR = ${EMACS_LISPDIR}/site-start.d +PKG = haskell-mode +INSTDIR = ${RPM_BUILD_ROOT}/${EMACS_LISPDIR}/${PKG} +STARTDIR = ${RPM_BUILD_ROOT}/${EMACS_STARTDIR} ELFILES = \ haskell-font-lock.el \ @@ -9,6 +14,8 @@ ELFILES = \ haskell-decl-scan.el \ haskell-indent.el \ haskell-simple-indent.el \ + haskell-hugs.el \ + haskell-ghci.el \ inf-haskell.el ELCFILES = $(ELFILES:.el=.elc) @@ -21,6 +28,16 @@ AUTOLOADS = haskell-site-file.el all: $(ELCFILES) $(AUTOLOADS) +clean: + rm -rf *.elc + +install: + install -m 755 -d ${INSTDIR} + install -m 644 *.el ${INSTDIR} + install -m 644 *.elc ${INSTDIR} + install -m 755 -d ${STARTDIR} + install -m 644 haskell-mode-init.el ${STARTDIR} + info: # No Texinfo file, sorry.