File: rules

package info (click to toggle)
xmake 3.0.7%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,508 kB
  • sloc: ansic: 17,597; sh: 5,075; perl: 910; cpp: 461; objc: 236; python: 113; makefile: 112; f90: 15; pascal: 13
file content (28 lines) | stat: -rwxr-xr-x 650 bytes parent folder | download | duplicates (4)
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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -llua5.4-cjson

%:
	dh $@

DEB_CONFIGURE_EXTRA_FLAGS = --external=y --verbose

build-indep:
	# pass

override_dh_auto_configure:
	dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)

override_dh_auto_build:
	dh_auto_build -- VERBOSE=1

execute_after_dh_install:
	rm -rf debian/xmake-data/usr/share/xmake/scripts/xpack/deb/

execute_after_dh_fixperms:
	find debian/ -type f -name update-script.sh -exec chmod 755 {} \;

execute_after_dh_auto_clean:
	find . -type f -name ".gitignore" -exec rm -f {} \;