Hi Jonas.
Excerpts from Jonas Smedegaard's message of Ter Mar 23 14:27:20 -0300 2010:
(...)
> As subject says, hlibrary.mk really should invoke the Haskell cleanup
> routine.
>
> For inspiration, the following apparently was sufficient for the pandoc
> package:
>
>
> DEB_PHONY_RULES += haskell-clean
> cleanbuilddir:: haskell-clean
> haskell-clean:
> [ ! -x "$(DEB_SETUP_BIN_NAME)" ] || $(DEB_SETUP_BIN_NAME) clean
Isn't the commands in clean:: enough?
clean::
rm -rf dist dist-ghc6 dist-hugs $(DEB_SETUP_BIN_NAME) Setup.hi Setup.ho
Setup.o .*config*
rm -f build-ghc6-stamp build-hugs-stamp build-haddock-stamp
rm -rf debian/tmp-inst-ghc6
rm -f $(MAKEFILE)
rm -rf debian/dh_haskell_shlibdeps
Greetings.
(...)
--
marcot
http://wiki.debian.org/MarcoSilva
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]