File: rules

package info (click to toggle)
xcfa 5.0.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 6,292 kB
  • sloc: ansic: 47,148; sh: 4,380; makefile: 142; sed: 16
file content (22 lines) | stat: -rwxr-xr-x 500 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
#!/usr/bin/make -f

export LDFLAGS+=-Wl,--as-needed
export DEB_CPPFLAGS_MAINT_APPEND += -fcommon

%:
	dh $@ --parallel --with autotools_dev

override_dh_auto_configure:
	dh_auto_configure -- --enable-debug

override_dh_auto_install:
	dh_auto_install
	cd $(CURDIR)/debian/tmp/usr/share/ && rm -f \
		app-install/desktop/xcfa.desktop
	find $(CURDIR)/debian/tmp/ -type d -empty -delete

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog

override_dh_strip:
	dh_strip --dbg-package=xcfa-dbg