libeufin

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

rules (1932B)


      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 -plibeufin-bank --name=libeufin-bank.service --no-start --no-enable --no-stop-on-upgrade
     36 	dh_installsystemd -plibeufin-bank --name=libeufin-bank-gc --no-start --no-enable --no-stop-on-upgrade
     37 	dh_installsystemd -plibeufin-bank --name=libeufin-bank-gc.timer --no-start --no-enable --no-stop-on-upgrade
     38 	dh_installsystemd -plibeufin-bank --name=libeufin-bank --no-start --no-enable --no-stop-on-upgrade
     39 	dh_installsystemd -plibeufin-nexus --name=libeufin-nexus-ebics-submit --no-start --no-enable --no-stop-on-upgrade
     40 	dh_installsystemd -plibeufin-nexus --name=libeufin-nexus-ebics-fetch --no-start --no-enable --no-stop-on-upgrade
     41 	dh_installsystemd -plibeufin-nexus --name=libeufin-nexus-httpd --no-start --no-enable --no-stop-on-upgrade
     42 	dh_installsystemd -plibeufin-nexus --name=libeufin-nexus --no-start --no-enable --no-stop-on-upgrade
     43 	dh_installsystemd -plibeufin-ebisync --name=libeufin-ebisync-fetch --no-start --no-enable --no-stop-on-upgrade
     44 	dh_installsystemd -plibeufin-ebisync --name=libeufin-ebisync-httpd --no-start --no-enable --no-stop-on-upgrade
     45 	dh_installsystemd -plibeufin-ebisync --name=libeufin-ebisync --no-start --no-enable --no-stop-on-upgrade
     46 	# final invocation to generate daemon reload
     47 	dh_installsystemd
     48 
     49 get-orig-source:
     50 	uscan --force-download --rename