diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 08:03:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 08:03:40 +0000 |
commit | 6a254b9c2391d68199836601525220b5c5f8c0db (patch) | |
tree | d1e96c6ffb5ba431feee7e953a5ed15e56098248 /debian/rules.real | |
parent | Adding upstream version 20200122. (diff) | |
download | firmware-free-6a254b9c2391d68199836601525220b5c5f8c0db.tar.xz firmware-free-6a254b9c2391d68199836601525220b5c5f8c0db.zip |
Adding debian version 20200122-4.debian/20200122-4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/rules.real | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/debian/rules.real b/debian/rules.real new file mode 100644 index 0000000..3fa602f --- /dev/null +++ b/debian/rules.real @@ -0,0 +1,45 @@ +SHELL := sh -e + +export DH_OPTIONS + +# +# Targets +# +binary-indep: install + +install: PACKAGE_NAME = firmware-$(PACKAGE) +install: DH_OPTIONS = -p$(PACKAGE_NAME) +install: + dh_testdir + dh_testroot + dh_prep + @for i in $(FILES); do \ + s="$${i%:*}"; \ + d=/lib/firmware/"$${i#*:}"; \ + echo install -m644 -D "$$s" debian/$(PACKAGE_NAME)"$$d"; \ + install -m644 -D "$$s" debian/$(PACKAGE_NAME)"$$d"; \ + done + @for i in $(LINKS); do \ + link=debian/$(PACKAGE_NAME)/lib/firmware/"$${i%:*}"; \ + target="$${i#*:}"; \ + install -d "$${link%/*}"; \ + echo ln -s "$$target" "$$link"; \ + ln -s "$$target" "$$link"; \ + done +ifneq ($(FILES),) + dh_installdirs /usr/share/metainfo + dh_install debian/$(PACKAGE_NAME).metainfo.xml /usr/share/metainfo +endif + dh_bugfiles + dh_installchangelogs + dh_installdocs -XTODO + dh_installdebconf + dh_lintian + dh_link + dh_compress + dh_fixperms + dh_installdeb + if command -v dh_movetousr >/dev/null; then dh_movetousr; fi + dh_gencontrol + dh_md5sums + dh_builddeb |