Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
4 include /usr/share/dpkg/default.mk
5 export CFLAGS += $(shell getconf LFS_CFLAGS)
6 export LDFLAGS += $(shell getconf LFS_LDFLAGS)
7
8 %:
9 dh $@
10
11 override_dh_auto_configure:
12 echo '$(CC)' > src/conf-cc
13 echo '$(CC)' > src/conf-ld
14 echo '$(CFLAGS)' > src/conf-cflags
15 echo '$(LDFLAGS)' > src/conf-ldflags
16
17 override_dh_auto_build:
18 make
19 # This manpage is weird and seems to be more tailored to HTML
20 # output, then to normal terminal one.
21 sed -ri '/^.("|URL|HTML|LINE)/ d' doc/ftpcp.1
22
23 override_dh_auto_test:
24 # publicfile is not in Debian main.
25
26 override_dh_auto_install:
27 # Do not run make install.