Commit f0220b47 authored by Joachim Breitner's avatar Joachim Breitner

haskell-hledger-interest: Actually use haskell-devscripts. Should also fix...

haskell-hledger-interest: Actually use haskell-devscripts. Should also fix this package's reproducibility.
parent 17dc0fd5
haskell-hledger-interest (1.4.4-2) UNRELEASED; urgency=medium
* Actually use haskell-devscripts. Should also fix this package's
-- Joachim Breitner <> Sun, 07 Jun 2015 15:48:58 +0200
haskell-hledger-interest (1.4.4-1) unstable; urgency=medium
* New upstream release
#!/usr/bin/make -f
INSTALL = install
INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644
INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755
INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755
rm -f debian/hlibrary.setup stamp-configure build-arch
rm -rf debian/$(package)
build: build-arch build-indep
build-arch: stamp-configure debian/hlibrary.setup
debian/hlibrary.setup build
touch build-arch
stamp-configure: debian/hlibrary.setup
debian/hlibrary.setup configure --prefix=/usr
touch stamp-configure
binary: binary-arch
binary-indep: checkroot build
binary-arch: checkroot build debian/hlibrary.setup
debian/hlibrary.setup copy --destdir=$(CURDIR)/debian/$(package)
rm -rf debian/$(package)/usr/share/doc/$(package)-*
cd debian/$(package) && $(INSTALL_DIR) \
usr/bin \
usr/share/doc/$(package) \
$(INSTALL_FILE) debian/copyright debian/$(package)/usr/share/doc/$(package)/copyright
$(INSTALL_FILE) debian/changelog debian/$(package)/usr/share/doc/$(package)/changelog.Debian
gzip -9f debian/$(package)/usr/share/doc/$(package)/changelog.Debian
dpkg-shlibdeps -Tdebian/substvars -dDepends debian/$(package)/usr/bin/*
dpkg-gencontrol -ldebian/changelog -isp -p$(package) -Tdebian/substvars -Pdebian/$(package)
cd debian/$(package) && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums
chown -R root:root debian/$(package)
chmod -R go=rX debian/$(package)
dpkg --build debian/$(package) ..
ghc --make Setup.hs -o $@
define checkdir
test -f debian/rules
test root = "`whoami`"
.PHONY: binary binary-arch binary-indep clean checkroot build
include /usr/share/cdbs/1/rules/
include /usr/share/cdbs/1/class/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment