mirror of
https://git.jff.email/cgit/dmidecode.git
synced 2026-08-07 06:26:58 +00:00
26 lines
526 B
Makefile
Executable File
26 lines
526 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
%:
|
|
dh ${@}
|
|
|
|
override_dh_auto_build:
|
|
dh_auto_build -- CFLAGS="$(CFLAGS) $(CPPFLAGS) -Os -ansi" LDFLAGS="$(LDFLAGS)"
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install -- prefix=/usr
|
|
|
|
# remove useless files
|
|
rm -f debian/tmp/usr/share/doc/dmidecode/CHANGELOG
|
|
rm -f debian/tmp/usr/share/doc/dmidecode/README
|
|
|
|
override_dh_builddeb:
|
|
dh_builddeb -- -Zxz -z9
|
|
|
|
override_dh_install:
|
|
dh_install --fail-missing
|
|
|
|
override_dh_strip:
|
|
dh_strip --dbg-package=dmidecode-dbg
|