File: rules

package info (click to toggle)
miredo 1.2.6-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,596 kB
  • sloc: sh: 11,947; ansic: 7,823; makefile: 292; sed: 16
file content (28 lines) | stat: -rwxr-xr-x 653 bytes parent folder | download | duplicates (2)
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
# -*- mode: makefile; coding: utf-8 -*-

override_dh_auto_configure:
	dh_auto_configure -- --enable-static --disable-shared \
        --disable-binreloc --enable-miredo-user \
        --disable-sample-conf --with-Judy --disable-assert

override_dh_auto_clean:
	dh_auto_clean
	git checkout ChangeLog configure || true  # restore files changed by build

override_dh_install:
	rm -rf debian/tmp/usr/include
	rm -rf debian/tmp/usr/lib/*.*a
	dh_install

override_dh_installdocs:
	dh_installdocs -A README TODO AUTHORS THANKS NEWS

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh

# disable test suite
override_dh_auto_test:

%:
	dh $@