Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 # export DH_VERBOSE=1
6
7 include /usr/share/dpkg/architecture.mk
8 include /usr/share/dpkg/pkg-info.mk
9
10 # Ensure reproducible and locale independent build.
11 export LC_ALL=C
12
13 TOP_DIR := $(shell pwd)
14 TMP_DIR := debian/tmp
15 TMP_NANO_DIR := debian/tmp_nano
16
17 %:
18 dh $@ -B$(BUILD_DIR) --without autoreconf
19
20 debian/newlib-$(DEB_VERSION_UPSTREAM).tar.xz:
21 XZ_OPT=-9 \
22 tar -acf $@ --exclude=debian --exclude-vcs --exclude='*.dh-orig' \
23 --sort=name \
24 --mtime="@$(SOURCE_DATE_EPOCH)" \
25 --owner=0 --group=0 --numeric-owner \
26 --mode=go=rX,u+rw,a-s \
27 `pwd`/../`basename $(TOP_DIR)`
28
29 override_dh_clean:
30 dh_clean
31 rm -f debian/newlib-*.tar.xz
32
33 override_dh_auto_configure: debian/newlib-$(DEB_VERSION_UPSTREAM).tar.xz
34 @echo Nothing to do
35
36 override_dh_auto_test:
37 @echo Nothing to do
38
39 override_dh_auto_build:
40 @echo Nothing to do
41
42 override_dh_auto_install:
43 @echo Nothing to do
44
45 override_dh_installchangelogs:
46 dh_installchangelogs ChangeLog