2012-05-13 19:54:00 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
# Comment this to turn off verbose mode.
|
|
|
|
export DH_VERBOSE=1
|
|
|
|
|
|
|
|
# This has to be exported to make some magic below work.
|
|
|
|
export DH_OPTIONS
|
|
|
|
|
|
|
|
build: build-stamp
|
|
|
|
build-stamp:
|
|
|
|
dh_testdir
|
|
|
|
dh_quilt_patch
|
|
|
|
$(MAKE)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
#$(MAKE) distclean
|
|
|
|
dh_clean
|
|
|
|
|
|
|
|
install: build
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_clean -k
|
|
|
|
dh_installdirs
|
2020-12-01 20:16:29 +00:00
|
|
|
mkdir -p `pwd`/debian/`dh_listpackages`/tftpboot/xcat
|
|
|
|
cp elilo.efi `pwd`/debian/`dh_listpackages`/tftpboot/xcat/elilo-x64.efi
|
2012-05-13 19:54:00 +00:00
|
|
|
|
|
|
|
# Build architecture-independent files here.
|
2014-11-27 08:38:53 +00:00
|
|
|
binary-indep: install
|
2012-05-13 19:54:00 +00:00
|
|
|
dh_testdir -i
|
|
|
|
dh_testroot -i
|
|
|
|
dh_installdocs -i
|
|
|
|
dh_installchangelogs -i
|
|
|
|
dh_compress -i
|
|
|
|
dh_installdeb -i
|
|
|
|
dh_gencontrol -i
|
|
|
|
dh_md5sums -i
|
|
|
|
dh_builddeb -i
|
|
|
|
|
|
|
|
# Build architecture-dependent files here.
|
|
|
|
binary-arch: build install
|
|
|
|
dh_testdir -a
|
|
|
|
dh_testroot -a
|
|
|
|
dh_installinit -a
|
|
|
|
dh_installdocs -a
|
|
|
|
dh_installexamples -a
|
|
|
|
# dh_installmenu
|
|
|
|
# dh_installcron
|
|
|
|
dh_installdebconf -a
|
|
|
|
dh_installchangelogs -a
|
|
|
|
dh_link -a
|
|
|
|
dh_strip -a
|
|
|
|
dh_compress -a
|
|
|
|
dh_fixperms -a
|
|
|
|
dh_makeshlibs -a
|
|
|
|
dh_installdeb -a
|
|
|
|
dh_shlibdeps -a
|
|
|
|
dh_gencontrol -a
|
|
|
|
dh_md5sums -a
|
|
|
|
dh_builddeb -a
|
|
|
|
|
|
|
|
binary: binary-indep binary-arch
|
|
|
|
.PHONY: build clean binary-indep binary-arch binary install
|