File: rules

package info (click to toggle)
isoqlog 2.2.1-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,352 kB
  • sloc: ansic: 3,488; sh: 3,174; makefile: 71; perl: 55
file content (29 lines) | stat: -rwxr-xr-x 756 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
29
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

CFLAGS += -fcommon

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc/isoqlog

override_dh_clean:
	dh_clean
	debconf-updatepo

override_dh_install:
	dh_install
	rm -f $(CURDIR)/debian/isoqlog/usr/share/doc/isoqlog/INSTALL
	rm -f $(CURDIR)/debian/isoqlog/usr/share/doc/isoqlog/COPYING
	rm -f $(CURDIR)/debian/isoqlog/usr/share/doc/isoqlog/NEWS
	rm -f $(CURDIR)/debian/isoqlog/usr/share/doc/isoqlog/ChangeLog

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog -a