File: rules

package info (click to toggle)
idjc 0.9.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,900 kB
  • sloc: python: 22,118; ansic: 16,761; sh: 5,650; makefile: 208; sed: 16
file content (25 lines) | stat: -rwxr-xr-x 699 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
#!/usr/bin/make -f

export PYTHON=/usr/bin/python3

%:
	dh $@ --with python3

override_dh_python3:
	dh_python3 --no-ext-rename

override_dh_auto_configure:
	dh_auto_configure -- --disable-rpath --disable-static --libexecdir=/usr/bin --libdir=/usr/lib

override_dh_auto_install:
	dh_auto_install
	dh_installdirs -pidjc usr/share/doc/idjc/html
	cp doc/*.html doc/*.css doc/*.png debian/idjc/usr/share/doc/idjc/html/
	# Delete auto-installed docs in wrong dir (rather than patching Makefiles)
	rm -rf debian/idjc/usr/share/doc/idjc-*
	# remove la file
	rm -f debian/idjc/usr/lib/idjc/idjc.la

override_dh_makeshlibs:
	# don't generate ldconfig calls for private libraries
	dh_makeshlibs -Xusr/lib/idjc