donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

rules (1514B)


      1 #!/usr/bin/make -f
      2 
      3 SHELL := sh -e
      4 
      5 include /usr/share/dpkg/architecture.mk
      6 
      7 %:
      8 	dh ${@}
      9 
     10 override_dh_builddeb:
     11 	dh_builddeb -- -Zgzip
     12 
     13 override_dh_auto_configure-arch:
     14 	dh_auto_configure -- --disable-rpath --with-microhttpd=yes $(shell dpkg-buildflags --export=configure)
     15 
     16 override_dh_auto_configure-indep:
     17 
     18 override_dh_auto_build-indep:
     19 
     20 override_dh_auto_test:
     21 	# Disabling test suite, incomplete
     22 
     23 override_dh_auto_clean:
     24 	dh_auto_clean
     25 
     26 override_dh_installsystemd:
     27 	# Need to specify units manually, since we have multiple
     28 	# and dh_installsystemd by default only looks for "<package>.service".
     29 	dh_installsystemd -pdonau --name=donau --no-start --no-enable --no-stop-on-upgrade
     30 	dh_installsystemd -pdonau --name=donau-httpd --no-start --no-enable --no-stop-on-upgrade
     31 	dh_installsystemd -pdonau --name=donau-secmod-cs --no-start --no-enable --no-stop-on-upgrade
     32 	dh_installsystemd -pdonau --name=donau-secmod-eddsa --no-start --no-enable --no-stop-on-upgrade
     33 	dh_installsystemd -pdonau --name=donau-secmod-rsa --no-start --no-enable --no-stop-on-upgrade
     34 	# final invocation to generate daemon reload
     35 	dh_installsystemd
     36 
     37 override_dh_install:
     38 	dh_install
     39 # With debhelper-compat=12, we still need to call this manually
     40 	dh_installtmpfiles
     41 # Remove files already present in libdonau from main donau package
     42 	cd debian/libdonau-dev; find . -type f,l -exec rm -f ../donau/{} \;
     43 	cd debian/libdonau-dev; find . -type f,l -exec rm -f ../libdonau/{} \;
     44 	cd debian/libdonau; find . -type f,l -exec rm -f ../donau/{} \;