Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4 DPKG_EXPORT_BUILDFLAGS = 1
5 include /usr/share/dpkg/buildflags.mk
6
7 %:
8 dh $@
9
10 override_dh_auto_configure:
11 # upstream tarball is without configure. autogen.sh will create it
12 NOCONFIGURE=1 ./autogen.sh
13 dh_auto_configure $(DHFLAGS)
14
15 override_dh_auto_install:
16 dh_auto_install -- systemdsystemunitdir=/usr/lib/systemd/system
17 echo "# Debian-specific change until all display managers participate in /etc/X11/default-display-manager" >> debian/nodm/usr/lib/systemd/system/nodm.service
18 echo "ExecStartPre=/bin/sh -c '[ \"\$$(cat /etc/X11/default-display-manager 2>/dev/null)\" = \"/usr/sbin/nodm\" ]'" >> debian/nodm/usr/lib/systemd/system/nodm.service
19
20 override_dh_auto_test:
21 #make check
22
23 override_dh_installinit:
24 dh_installinit -r --no-restart-after-upgrade -- defaults
25
26 override_dh_installsystemd:
27 dh_installsystemd -r --no-restart-after-upgrade
28
29 get-orig-source:
30 uscan --noconf --force-download --rename --download-current-version --destdir=..