Name xdg-utils
Description desktop integration utilities from freedesktop.org
Version 1.1.3-4.1ubuntu3
Package Base
Homepage https://www.freedesktop.org/wiki/Software/xdg-utils/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors [' Per Olofsson <pelle@debian.org>', 'Nicholas Guriev <guriev-ns@ya.ru>,']
Distro-repo https://git.launchpad.net/ubuntu/+source/xdg-utils/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/xdg-utils/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xdg-utils/plain/debian/patches/debian-changes?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xdg-utils/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xdg-utils/plain/debian/patches/upstream-mr-remove-bashisms.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xdg-utils/plain/debian/watch?h=ubuntu/noble']
Dependencies []
Optional-Dependencies ['libfile-mimeinfo-perl', 'libnet-dbus-perl', 'libx11-protocol-perl', 'x11-utils', 'x11-xserver-utils']
Build-Dependencies ['debhelper-compat']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 499ad8b146f8d6f092ada8f878e7c6d93239caf29ce92c1381fe94e314169986
#!/usr/bin/make -f

BUILT_FILES := scripts/xdg-*.in scripts/man/*.1 scripts/README

%:
	dh $@

override_dh_auto_build:
	set -e; for i in $(BUILT_FILES); do \
		f=$${i%.in}; \
		if [ -e $$f ] && ! [ -e $$f.build-orig ]; then \
			mv $$f $$f.build-orig; \
		fi; \
	done
	cd scripts && LC_ALL=C.UTF-8 make scripts man

override_dh_auto_clean:
	dh_auto_clean
	set -e; for i in $(BUILT_FILES); do \
		f=$${i%.in}; \
		if [ -e $$f.build-orig ]; then \
			mv $$f.build-orig $$f; \
		fi; \
	done
	rm -f scripts/html/index.html

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# Use automated tests that do not require a user action.
	make autotest
endif

# Install the upstream release notes and rename the file.
override_dh_installdocs:
	dh_installdocs
	install -p RELEASE_NOTES debian/xdg-utils/usr/share/doc/xdg-utils/NEWS