Debian Codegraph @

debian/rules

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