File: rules

package info (click to toggle)
bmagic 5.0.0-1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 41,700 kB
  • sloc: cpp: 71,602; ansic: 8,734; sh: 1,622; makefile: 644
file content (17 lines) | stat: -rwxr-xr-x 442 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DH_VERBOSE=1
export DEB_LDFLAGS_MAINT_APPEND=-pthread

%:
	dh $@ -Scmake

override_dh_auto_build:
	dh_auto_build
	mkdir -p $(CURDIR)\/debian/generated-doxygen
	sed -r 's+(OUTPUT_DIRECTORY\s*=\s*)doc+\1$(CURDIR)/debian/generated-doxygen+' Doxyfile | doxygen -
	find $(CURDIR)/debian/generated-doxygen -name '*.md5' -exec rm -f {} \;

override_dh_auto_clean:
	rm -rf $(CURDIR)/debian/generated-doxygen
	dh_auto_clean