[Pkg-haskell-maintainers] Bug#575128: haskell-devscripts: hlibrary.mk should do cleanup

Jonas Smedegaard dr at jones.dk
Tue Mar 23 17:27:20 UTC 2010


Package: haskell-devscripts
Version: 0.7.5
Severity: normal

Hi,

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



Kind regards,

 - Jonas





More information about the Pkg-haskell-maintainers mailing list