File: rules

package info (click to toggle)
cln 1.3.7-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,996 kB
  • sloc: cpp: 80,860; sh: 5,138; ansic: 3,174; makefile: 1,274
file content (31 lines) | stat: -rwxr-xr-x 898 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
30
31
#!/usr/bin/make -f
# -*- makefile -*-

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

# HPPA: Assembler support is not working properly.  Somebody needs to
# investigate but currently I don't have the inspiration for fixing
# things on exotic architectures.
# SPARC: With some versions of GCC, there are apparently problems in
# passing return values in %g1.
ASM_BROKEN_ARCHS = hppa sparc64

ifneq (,$(filter ${DEB_HOST_ARCH}, ${ASM_BROKEN_ARCHS}))
  export DEB_CPPFLAGS_MAINT_APPEND = -DNO_ASM
endif

%:
	dh $@

# Invoke html target in addition to all the default arguments given by dh_auto_build:
override_dh_auto_build:
	dh_auto_build -- html

# Don't install upstream ChangeLog (it's only a dummy):
override_dh_installchangelogs:
	dh_installchangelogs --exclude=ChangeLog

# Add some of CLN's files to /usr/share/doc/*/:
override_dh_installdocs:
	dh_installdocs -- NEWS README