libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

rules (1514B)


      1 #!/usr/bin/make -f
      2 
      3 include /usr/share/dpkg/default.mk
      4 
      5 SHELL := sh -e
      6 
      7 export GRADLE_USER_HOME = .gradle
      8 LIBEUFIN_HOME = /usr/share/libeufin
      9 DEV =
     10 FULLVER = $(DEB_VERSION_UPSTREAM)$(DEV)
     11 
     12 %:
     13 	dh ${@} --no-parallel
     14 
     15 override_dh_auto_test:
     16 	true
     17 
     18 override_dh_auto_configure:
     19 	true
     20 
     21 override_dh_auto_install:
     22 	true
     23 
     24 override_dh_auto_build:
     25 	make build
     26 
     27 # Override this step because it's very slow and likely
     28 # unnecessary for us.
     29 override_dh_strip_nondeterminism:
     30 	true
     31 
     32 override_dh_installsystemd:
     33 	# Need to specify units manually, since we have multiple
     34 	# and dh_installsystemd by default only looks for "<package>.service".
     35 	dh_installsystemd -p libeufin-bank --no-start --no-enable --no-stop-on-upgrade --name=libeufin-bank-gc
     36 	dh_installsystemd -p libeufin-bank --no-start --no-enable --no-stop-on-upgrade --name=libeufin-bank
     37 	dh_installsystemd -p libeufin-nexus --no-start --no-enable --no-stop-on-upgrade --name=libeufin-nexus-ebics-submit
     38 	dh_installsystemd -p libeufin-nexus --no-start --no-enable --no-stop-on-upgrade --name=libeufin-nexus-ebics-fetch
     39 	dh_installsystemd -p libeufin-nexus --no-start --no-enable --no-stop-on-upgrade --name=libeufin-nexus-httpd
     40 	dh_installsystemd -p libeufin-ebisync --no-start --no-enable --no-stop-on-upgrade --name=libeufin-ebisync-fetch
     41 	dh_installsystemd -p libeufin-ebisync --no-start --no-enable --no-stop-on-upgrade --name=libeufin-ebisync-httpd
     42 	# final invocation to generate daemon reload
     43 	dh_installsystemd
     44 
     45 get-orig-source:
     46 	uscan --force-download --rename