File: rules

package info (click to toggle)
pragha 1.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,088 kB
  • sloc: ansic: 31,130; makefile: 934; xml: 41; sh: 7
file content (31 lines) | stat: -rwxr-xr-x 760 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

# Enable all hardening options
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

# Use xfce autogen
override_dh_autoreconf:
	NOCONFIGURE=1 dh_autoreconf xdt-autogen

# Remove .la files
override_dh_install:
	find debian -name "*.la" -exec rm {} \;
	dh_install

# Use the --keep option with dh_installchangelogs, so that the upstream
# changelog file, i.e.: ChangeLog, gets installed with the name expected by
# Debian, i.e.: changelog.
override_dh_installchangelogs:
	dh_installchangelogs --keep

# Clean build files not removed by upstream clean rules
override_dh_clean:
	dh_clean
	rm -f config.h config.log config.status libtool stamp-h1
	rm -f po/*gmo po/Makefile.in po/POTFILES

override_dh_missing:
	dh_missing --fail-missing