File: rules

package info (click to toggle)
debmake 4.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,204 kB
  • sloc: python: 5,522; makefile: 99; sh: 82
file content (18 lines) | stat: -rwxr-xr-x 554 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# uncomment to enable verbose mode for debhelper
#DH_VERBOSE = 1

%:
	dh $@ --with python3 --buildsystem=pybuild

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	cd test/src ; make
endif

override_dh_auto_install:
	dh_auto_install --destdir debian/debmake
	# These are not for general use (for debug only)
	mkdir -p debian/debmake/usr/lib/debmake
	mv debian/debmake/usr/bin/debmake-lc debian/debmake/usr/lib/debmake/debmake-lc
	mv debian/debmake/usr/bin/debmake-dep5 debian/debmake/usr/lib/debmake/debmake-dep-5