kopia lustrzana https://github.com/stlink-org/stlink
20 wiersze
544 B
Makefile
Executable File
20 wiersze
544 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# See debhelper(7) (uncomment to enable)
|
|
# output every command that modifies files on the build system.
|
|
DH_VERBOSE = 1
|
|
|
|
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
include /usr/share/dpkg/default.mk
|
|
|
|
# see FEATURE AREAS in dpkg-buildflags(1)
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
%:
|
|
dh $@ --buildsystem cmake
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
-DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
|
|
-DSTLINK_UDEV_RULES_DIR='/lib/udev/rules.d'
|