File: rules

package info (click to toggle)
rt-app 1.0-1.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 552 kB
  • sloc: ansic: 2,238; python: 260; sh: 129; makefile: 33
file content (28 lines) | stat: -rwxr-xr-x 736 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
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-deadline --with-json

#Make only scripts executable - upstream x-bit is a mess in doc dir
override_dh_install:
	dh_install
	find debian/rt-app/usr/share/doc/rt-app/examples/ -type f -exec chmod -x {} +
	find debian/rt-app/usr/share/doc/rt-app/examples -name "*.sh" -print0 | xargs -0 chmod +x
	find debian/rt-app/usr/share/doc/ -name "*.py" -print0 | xargs -0 chmod +x
	rm  debian/rt-app/usr/share/doc/rt-app/workgen

#Stop it compressing example scripts. Everything is tiny anyway
override_dh_compress:


override_dh_clean:
	rm -rf build-aux m4
	-rm *.log
	-rm unikid.json
	dh_clean