diff options
Diffstat (limited to 'data/cwidget/debian/rules')
-rwxr-xr-x | data/cwidget/debian/rules | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/data/cwidget/debian/rules b/data/cwidget/debian/rules new file mode 100755 index 000000000..44fc573e0 --- /dev/null +++ b/data/cwidget/debian/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + + +export DEB_CXXFLAGS_MAINT_APPEND := -pipe -Wall -std=c++11 +export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed + + +%: + dh $@ --with autoreconf --parallel + +override_dh_auto_configure: + dh_auto_configure -- --disable-werror $(CROSS_CONFIGURE_OPTIONS) + +override_dh_auto_clean: + -rm -rf doc/ikiwiki/.ikiwiki + dh_auto_clean + +# Build indep overrides +override_dh_auto_build-indep: + $(MAKE) -C doc doc + +override_dh_auto_test-indep: + # No tests needed for docs + +override_dh_auto_install-indep: + $(MAKE) -C doc install + dh_install -i -Xjquery.min.js -Xjquery.js + +override_dh_installchangelogs: + dh_installchangelogs -- NEWS + +override_dh_installexamples: + dh_installexamples -plibcwidget-dev src/cwidget/testcwidget.cc + +override_dh_strip: + dh_strip -a --dbg-package=libcwidget3v5-dbg |