File: rules

package info (click to toggle)
linux-entra-sso 1.7.2-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 404 kB
  • sloc: javascript: 1,133; python: 361; makefile: 227; sh: 18
file content (19 lines) | stat: -rwxr-xr-x 608 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:

override_dh_auto_install:
	dh_auto_install -- prefix=/usr

# Use debian/postinst to install the Chrome conffile
# and debian/postrm to remove it since dpkg's automatic
# conffile handling doesn't handle the special /etc/opt/ directory
# https://bugs.debian.org/888549
execute_after_dh_install:
	mkdir -p debian/linux-entra-sso/usr/share/linux-entra-sso
	mv debian/linux-entra-sso/etc/opt/chrome/native-messaging-hosts/linux_entra_sso.json \
		debian/linux-entra-sso/usr/share/linux-entra-sso/linux_entra_sso.json
	rm -rf debian/linux-entra-sso/etc/opt