Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 # export DH_VERBOSE=1
5
6 include /usr/share/dpkg/architecture.mk
7
8 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
9
10 %:
11 dh $@
12
13 override_dh_auto_clean:
14 # work around some stupid logic in top level makefile
15 rm -f src/*.o
16 rm -f pam_radius_auth.so
17 rm -f Make.inc
18
19 override_dh_auto_configure:
20 ./configure --prefix=$(CURDIR)/debian --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
21
22 # Skip
23 override_dh_auto_install:
24
25 override_dh_fixperms:
26 dh_fixperms
27 chmod 600 debian/libpam-radius-auth/etc/pam_radius_auth.conf