File: rules

package info (click to toggle)
yadm 3.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 840 kB
  • sloc: python: 4,208; sh: 2,025; makefile: 206
file content (24 lines) | stat: -rwxr-xr-x 532 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export DESTDIR = debian/yadm
export PREFIX = /usr


%:
	dh $@

override_dh_auto_build:

# Remove some files installed by upstream that are installed by the
# packaging logic in different ways.
execute_after_dh_auto_install:
	rm debian/yadm/usr/share/doc/yadm/CHANGES
	rm debian/yadm/usr/share/doc/yadm/LICENSE
	rm -r debian/yadm/usr/share/doc/yadm/contrib

override_dh_installchangelogs:
	dh_installchangelogs CHANGES

# The test requires Docker, so it is disabled.
override_dh_auto_test: