diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 12:39:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 12:39:40 +0000 |
commit | 92b71369d9c622791ec7758cb3ecfc256031e24d (patch) | |
tree | 45fb3f91bbfec5ecb364ceea5a2f4afe31ab57c1 /debian/rules | |
parent | Adding upstream version 2.11.4. (diff) | |
download | icingaweb2-92b71369d9c622791ec7758cb3ecfc256031e24d.tar.xz icingaweb2-92b71369d9c622791ec7758cb3ecfc256031e24d.zip |
Adding debian version 2.11.4-2+deb12u1.debian/2.11.4-2+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b73f540 --- /dev/null +++ b/debian/rules @@ -0,0 +1,51 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 + +%: + dh $@ --with bash_completion + +override_dh_install: + dh_install -XSOURCE + + mkdir -p debian/php-icinga/usr/share/doc/php-icinga + cp library/vendor/Zend/README.md debian/php-icinga/usr/share/doc/php-icinga/README-ZF1.md + + # Remove extra license files + find debian/*/usr/share/icingaweb2 -name LICENSE -delete + find debian/*/usr/share/icingaweb2 -name LICENSE.LGPL -delete + find debian/*/usr/share/icingaweb2 -name LICENSE.txt -delete + + # Remove documentation + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/AUTHORS.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/README.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/AUTHORS.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/CHANGELOG.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/README.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/RELEASE.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/UPGRADING.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/*/*/*/README.md + + $(RM) debian/*/usr/share/icingaweb2/library/vendor/lessphp/CHANGES.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/lessphp/README.md + $(RM) debian/*/usr/share/icingaweb2/library/vendor/lessphp/SECURITY.md + + # Remove duplicate font files + $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Bold.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-BoldOblique.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Oblique.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Bold.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-BoldOblique.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Oblique.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Bold.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-BoldItalic.ttf \ + debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Italic.ttf + + # Remove executable bit + chmod -x debian/*/usr/share/icingaweb2/application/fonts/fontello-ifont/config.json \ + debian/*/usr/share/icingaweb2/library/vendor/HTMLPurifier/DefinitionCache/Serializer/README \ + debian/*/usr/share/icingaweb2/public/font/ifont.* + +# vi: ts=4 sw=4 noexpandtab : |