File: rules

package info (click to toggle)
fityk 1.3.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,784 kB
  • sloc: cpp: 34,396; ansic: 4,673; python: 971; makefile: 366; sh: 117; java: 31; ruby: 27; perl: 25; xml: 16
file content (27 lines) | stat: -rwxr-xr-x 577 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=autoconf --with sphinxdoc

override_dh_auto_configure:
	dh_auto_configure -- --disable-shared --enable-static

override_dh_auto_build:
	dh_auto_build
	make -C doc html

override_dh_auto_install:
	dh_auto_install
	$(RM) -r $(CURDIR)/debian/fityk/usr/lib \
	         $(CURDIR)/debian/fityk/usr/include

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_compress:
	dh_compress --exclude=.dat --exclude=.fit

override_dh_sphinxdoc:
	dh_sphinxdoc usr/share/fityk/html