diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ed7dbc0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +DH_VERBOSE = 1 + +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# see FEATURE AREAS in dpkg-buildflags(1) +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ + +# No configuration needed +override_dh_auto_configure: + +override_dh_install: + dh_installdirs /usr/share/pam-configs /usr/share/mapuser + install -p -m 755 pam_script_ses* debian/libnss-mapuser/usr/share/mapuser + install -p -m 444 debian/mapuser \ + debian/libnss-mapuser/usr/share/pam-configs/ + dh_install |