Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 %:
3 ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
4 dh $@ -Nautoconf-doc
5 else
6 dh $@
7 endif
8
9 # Ensure texlive respects SOURCE_DATE_EPOCH
10 export FORCE_SOURCE_DATE=1
11
12 override_dh_auto_clean:
13 [ ! -f Makefile ] || $(MAKE) distclean
14
15 override_dh_auto_configure:
16 # Ensure nothing tries to re-bootstrap Autoconf with itself.
17 touch configure `find . -name Makefile.in`
18 dh_auto_configure -- EMACS=no --with-lispdir= SHELL=/bin/sh
19 # Force manpages to get rebuilt with correct version number.
20 touch man/*.x
21
22 override_dh_auto_build:
23 dh_auto_build
24 ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
25 dh_auto_build -Nautoconf-doc
26 else
27 dh_auto_build
28 endif
29
30 override_dh_auto_install:
31 $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
32 ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
33 $(MAKE) DESTDIR=$(CURDIR)/debian/tmp \
34 install-html install-info install-pdf install-ps install-man
35 endif
36
37 override_dh_auto_test:
38
39 override_dh_missing:
40 dh_missing --list-missing