twister

HTTP fault injector for testing
Log | Files | Refs | Submodules | README | LICENSE

rules (778B)


      1 #!/usr/bin/make -f
      2 
      3 SHELL := sh -e
      4 
      5 include /usr/share/dpkg/architecture.mk
      6 
      7 %:
      8 	dh ${@}
      9 
     10 # No static library: nothing links libtalertwister statically, and the
     11 # libtool archive that goes with it is not shipped either.
     12 override_dh_auto_configure:
     13 	dh_auto_configure -- --disable-static
     14 
     15 override_dh_builddeb:
     16 	dh_builddeb -- -Zgzip
     17 
     18 # The test suite is not run at build time: the shell scripts in src/test
     19 # resolve taler-twister-service and its configuration through the install
     20 # prefix, so they only work after "make install", and they bind fixed TCP
     21 # ports, which is not acceptable on a build machine.
     22 override_dh_auto_test:
     23 
     24 override_dh_auto_install:
     25 	dh_auto_install
     26 	# Libtool archives are of no use to anyone here.
     27 	rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la