| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE=1 |
| 3 |
|
| 4 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 |
|
| 6 |
include /usr/share/dpkg/pkg-info.mk |
| 7 |
|
| 8 |
export SCRYPT_VERSION = $(DEB_VERSION_UPSTREAM) |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ |
| 12 |
|
| 13 |
# In the upstream tarball, but not the git repo, the autotools support |
| 14 |
# files are in autotools/. For robustness, we link them to top level |
| 15 |
# if necessary. |
| 16 |
|
| 17 |
override_dh_autoreconf: configure.ac Makefile.am |
| 18 |
dh_autoreconf |
| 19 |
|
| 20 |
configure.ac Makefile.am: |
| 21 |
@echo "Link autotools scripts to top level" |
| 22 |
ln --verbose -s autotools/$@ ./ |
| 23 |
|
| 24 |
override_dh_auto_configure: |
| 25 |
@echo "configure to generate shared library" |
| 26 |
dh_auto_configure -- --enable-libscrypt-kdf |