]>
Commit | Line | Data |
---|---|---|
1 | #!/usr/bin/make -f | |
2 | # -*- makefile -*- | |
3 | ||
4 | # Uncomment this to turn on verbose mode. | |
5 | #export DH_VERBOSE=1 | |
6 | ||
7 | debian/control: $(wildcard debian/*.in) | |
8 | sed -e 's/@KERNEL_ABI@/${KERNEL_ABI}/g' < debian/postrm.in > debian/pve-kernel-${KERNEL_VER}.postrm | |
9 | sed -e 's/@KERNEL_ABI@/${KERNEL_ABI}/g' -e 's/@KERNEL_VER@/${KERNEL_VER}/g' < debian/postinst.in > debian/pve-kernel-${KERNEL_VER}.postinst | |
10 | sed -e 's/@KERNEL_ABI@/${KERNEL_ABI}/g' -e 's/@KERNEL_VER@/${KERNEL_VER}/g' < debian/control.in > debian/control | |
11 | ||
12 | ||
13 | install: | |
14 | dh_installdocs -A debian/SOURCE debian/copyright | |
15 | dh_installchangelogs | |
16 | dh_strip_nondeterminism | |
17 | dh_compress | |
18 | dh_fixperms | |
19 | ||
20 | binary: install | |
21 | dh_installdeb | |
22 | dh_gencontrol | |
23 | dh_md5sums | |
24 | dh_builddeb | |
25 | ||
26 | .PHONY: build clean | |
27 | build clean: |