File: rules

package info (click to toggle)
forensics-extra 2.13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 152 kB
  • sloc: sh: 306; makefile: 19
file content (24 lines) | stat: -rwxr-xr-x 557 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

%:
	dh $@

override_dh_clean:
	dh_clean
	rm -rf tmp-detect tmp-search

override_dh_auto_build:
	@if [ -e control.NEW -o \
	      -e forensics-extra.README.Debian.NEW -o \
	      -e forensics-extra-gui.README.Debian.NEW ]; \
	then \
	    echo " " ; \
	    echo " " ; \
	    echo ERROR: I found control.NEW or \*.README.Debian.NEW file in upstream place. ; \
	    echo Please, move it to debian/, removing ".NEW" suffix. You can use move.sh. ; \
	    echo " " ; \
	    echo " " ; \
	    exit 1 ;\
	fi
	dh_auto_build