diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-09-17 00:21:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-09-17 00:21:00 +0200 |
commit | 80fe273ef5d46e0d242017a5d1a04a5bd933c3d7 (patch) | |
tree | 2c2a0f5d512908ffbf11efb7a37e66f29eab669e /debian/rules | |
parent | 03bfa07732db97dfaa61b103e2cb30c08805d425 (diff) | |
download | sync-80fe273ef5d46e0d242017a5d1a04a5bd933c3d7.tar.gz sync-80fe273ef5d46e0d242017a5d1a04a5bd933c3d7.tar.bz2 sync-80fe273ef5d46e0d242017a5d1a04a5bd933c3d7.zip |
initial debian package
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..17e3c0b --- /dev/null +++ b/debian/rules @@ -0,0 +1,41 @@ +#!/usr/bin/make -f + +SHELL := sh -e + +include /usr/share/dpkg/architecture.mk + +%: + dh ${@} + +override_dh_auto_configure-arch: + dh_auto_configure -- --disable-rpath --with-microhttpd=yes $(shell dpkg-buildflags --export=configure) + +override_dh_auto_configure-indep: + +override_dh_auto_build-indep: + +override_dh_auto_test: + # Disabling test suite, incomplete + +override_dh_auto_install-arch: + dh_auto_install + + # Removing useless files + rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la \ + debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/sync/*.la \ + debian/tmp/usr/share/doc/sync/COPYING + +override_dh_auto_install-indep: + +override_dh_auto_clean: + dh_auto_clean + +override_dh_install: + dh_install +# Done manually for debhelper-compat<13 + dh_installtmpfiles +# Remove files already present in libsync-dev from sync-httpd/libsync packages + cd debian/libsync; find . -type f,l -exec rm -f ../sync-httpd/{} \; + cd debian/libsync; find . -type f,l -exec rm -f ../libsync-dev/{} \; + cd debian/sync-httpd; find . -type f,l -exec rm -f ../libsync-dev/{} \; + cd debian/libsync-dev; find . -type f,l -exec rm -f ../libsync/{} \; |