sync

Backup service to store encrypted wallet databases (experimental)
Log | Files | Refs | Submodules | README | LICENSE

rules (1320B)


      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_install-arch:
     24 	dh_auto_install
     25 
     26 	# Removing useless files
     27 	rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la \
     28 		debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/sync/*.la \
     29 		debian/tmp/usr/share/doc/sync/COPYING
     30 
     31 override_dh_auto_install-indep:
     32 
     33 override_dh_auto_clean:
     34 	dh_auto_clean
     35 
     36 override_dh_installsystemd:
     37 	dh_installsystemd -psync-httpd --name=sync-httpd --no-start --no-enable
     38 	# final invocation to generate daemon reload
     39 	dh_installsystemd
     40 
     41 override_dh_install:
     42 	dh_install
     43 # Done manually for debhelper-compat<13
     44 	dh_installtmpfiles
     45 # Remove files already present in libsync-dev from sync-httpd/libsync packages
     46 	cd debian/libsync; find . -type f,l -exec rm -f ../sync-httpd/{} \;
     47 	cd debian/libsync; find . -type f,l -exec rm -f ../libsync-dev/{} \;
     48 	cd debian/sync-httpd; find . -type f,l -exec rm -f ../libsync-dev/{} \;
     49 	cd debian/libsync-dev; find . -type f,l -exec rm -f ../libsync/{} \;