1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
export DEB_CFLAGS_MAINT_APPEND := -Wno-error
export NATURALDOCS=/usr/bin/naturaldocs
%:
dh $@
override_dh_auto_clean:
rm -rf m4
dh_auto_clean
$(RM) doc/proj/Languages.txt doc/proj/Menu.txt doc/proj/Topics.txt
override_dh_autoreconf:
mkdir m4
dh_autoreconf
override_dh_auto_configure:
dh_auto_configure -- --enable-static=no
override_dh_auto_build:
dh_auto_build
ifeq ($(shell dpkg-query -s naturaldocs 1>/dev/null 2>&1 && echo yes),yes)
cd doc/ && $(MAKE) html
endif
execute_after_dh_auto_install:
$(RM) debian/tmp/usr/lib/*/libnacore.la
|