Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 DESTDIR=$(CURDIR)/debian/bibtex2html
4 include /usr/share/ocaml/ocamlvars.mk
5
6 %:
7 dh $@ --with ocaml
8
9 override_dh_auto_configure:
10 ./configure --bindir=$(DESTDIR)/usr/bin\
11 --prefix=$(DESTDIR)/usr/share\
12 --mandir=$(DESTDIR)/usr/share/man
13
14 override_dh_auto_build:
15 ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
16 $(MAKE) opt manual.html
17 else
18 $(MAKE) byte manual.html
19 endif
20
21 override_dh_auto_test:
22 ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
23 $(MAKE) test
24 else
25 $(MAKE) test-byte
26 endif