File: rules

package info (click to toggle)
linux-patch-debianlogo 1.16
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 1,520 kB
  • ctags: 1
  • sloc: makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 597 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

PKG = linux-patch-debianlogo

%:
	dh $@

override_dh_installdocs:
	dh_installdocs debianlogo.png tux-with-swirl.png
	dh_installkpatches
	# dh_installkpatches sets the virtual package grep-dctrl as substvar
	# and uses dpkg's obsolete --print-installation-architecture option.
	# Use up-to-date replacements instead.
	sed -i 's/grep-dctrl/dctrl-tools/' \
	  debian/$(PKG).substvars
	sed -i 's/--print-installation-architecture/--print-architecture/' \
	  debian/$(PKG)/usr/src/kernel-patches/all/apply/debianlogo \
	  debian/$(PKG)/usr/src/kernel-patches/all/unpatch/debianlogo