diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-29 13:43:34 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-29 13:43:34 +0100 |
commit | 8dca171ad616800dc8b5632a872f832a663f8dbb (patch) | |
tree | 3e83342b62db7ce2a02c909bb7b19ab11c2bdde3 /debian/rules | |
parent | 3e6cb6e075a2d43b0f6c05af1096b5bc8c71b6ae (diff) | |
download | gnunet-8dca171ad616800dc8b5632a872f832a663f8dbb.tar.gz gnunet-8dca171ad616800dc8b5632a872f832a663f8dbb.zip |
-work on packaging
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules index 778479140..bf4373572 100755 --- a/debian/rules +++ b/debian/rules | |||
@@ -15,16 +15,16 @@ override_dh_auto_configure-indep: | |||
15 | override_dh_auto_build-indep: | 15 | override_dh_auto_build-indep: |
16 | 16 | ||
17 | override_dh_auto_test: | 17 | override_dh_auto_test: |
18 | # Disabling test suite, incomplete | 18 | # Disabling test suite, incomplete |
19 | 19 | ||
20 | override_dh_auto_install-arch: | 20 | override_dh_auto_install-arch: |
21 | dh_auto_install | 21 | dh_auto_install |
22 | 22 | ||
23 | # Create config file | 23 | # Create config file |
24 | mkdir -p debian/tmp/etc | 24 | mkdir -p debian/tmp/etc |
25 | cp debian/etc/gnunet.conf debian/tmp/etc/ | 25 | cp debian/etc/gnunet.conf debian/tmp/etc/ |
26 | 26 | ||
27 | # Removing useless files | 27 | # Removing useless files |
28 | rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la \ | 28 | rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la \ |
29 | debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gnunet/*.la \ | 29 | debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gnunet/*.la \ |
30 | debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gnunet/nss/*.la \ | 30 | debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gnunet/nss/*.la \ |
@@ -45,3 +45,8 @@ override_dh_auto_clean: | |||
45 | dh_auto_clean | 45 | dh_auto_clean |
46 | rm -rf contrib/gnunet_janitor.py contrib/gnunet_pyexpect.py libltdl/ \ | 46 | rm -rf contrib/gnunet_janitor.py contrib/gnunet_pyexpect.py libltdl/ \ |
47 | src/integration-tests/*.py | 47 | src/integration-tests/*.py |
48 | |||
49 | # Remove files already present in libgnunet from main gnunet package | ||
50 | override_dh_install: | ||
51 | dh_install | ||
52 | cd debian/libgnunet; find . -type f -exec rm -f ../gnunet/{} \; | ||