File: rules

package info (click to toggle)
naspro-core 0.5.1-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,812 kB
  • sloc: sh: 11,338; ansic: 4,634; makefile: 96
file content (28 lines) | stat: -rwxr-xr-x 574 bytes parent folder | download
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
#!/usr/bin/make -f

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