1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
DEB_DESTDIR=$(CURDIR)/debian/ocamlweb
BUILD_DATE=$(shell dpkg-parsechangelog --show-field Date)
%:
dh $@ --with ocaml,tex
# test target is currently broken
override_dh_auto_test:
override_dh_auto_configure:
./configure \
--prefix=$(DEB_DESTDIR)/usr/\
--mandir=$(DEB_DESTDIR)/usr/share/man
# we have decided to build this package as bytecode
override_dh_auto_build:
$(MAKE) byte BUILD_DATE="$(BUILD_DATE)"
# UPDATETEX: executed after installation of tex files
override_dh_auto_install:
$(MAKE) install-byte UPDATETEX=true
|