mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
24 lines
654 B
Makefile
Executable File
24 lines
654 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
|
|
|
|
BUILDDIR = builddir
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure --buildsystem=cmake -- \
|
|
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
|
-DLIBDIR=/usr/lib/${DEB_HOST_MULTIARCH} \
|
|
-DENABLE_DOC:BOOL=ON \
|
|
-DENABLE_MAN:BOOL=ON \
|
|
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
|
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
|
|
-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="$(LDFLAGS)" \
|
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
|
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
|
|
|
override_dh_installchangelogs:
|
|
dh_installchangelogs CHANGELOG.md
|
|
|
|
%:
|
|
dh $@ --builddirectory=$(BUILDDIR)
|