File: rules

package info (click to toggle)
grub 0.97-84
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 7,240 kB
  • sloc: ansic: 40,100; sh: 5,393; asm: 2,227; makefile: 479; perl: 338
file content (19 lines) | stat: -rwxr-xr-x 455 bytes parent folder | download
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_configure:

override_dh_auto_build:

execute_after_dh_install:
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
ifneq (,$(filter grub-pc,$(BUILD_PACKAGES)))
        patch debian/grub-legacy/usr/lib/grub-legacy/update-grub \
                < debian/legacy/update-grub.ubuntu.patch
endif
endif

execute_after_dh_clean:
	chmod +x debian/upgrade-from-grub-legacy
	chmod +x debian/update-grub