Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 #export DH_VERBOSE = 1
3 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4 #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
5 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
6
7 %:
8 dh $@ --buildsystem=lua --with lua
9
10 override_dh_auto_configure:
11 perl -i -pe s/resty/nginx/g lib/resty/redis/*.lua
12 dh_auto_configure
13
14 override_dh_auto_clean:
15 dh_auto_clean
16 perl -i -pe s/nginx/resty/g lib/resty/redis/*.lua