Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 #export DH_LUA_OPTS=verbose
4 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
5
6 %:
7 dh $@ --buildsystem=lua --with lua
8
9 execute_before_dh_auto_test:
10 set -e; for lua_version in "5.1" "5.3" "5.4"; do \
11 mkdir ./$$lua_version-geoip/geoip; \
12 cp ./$$lua_version-geoip.country/geoip/country.so ./$$lua_version-geoip/geoip/country.so; \
13 done
14 ln -sf /usr/share/GeoIP/GeoIP.dat ./GeoIP.dat
15 ln -sf /usr/share/GeoIP/GeoIPv6.dat .