File: rules

package info (click to toggle)
dh-make-perl 0.128
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,292 kB
  • sloc: perl: 5,640; makefile: 34; sh: 25
file content (19 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@

override_dh_clean:
	dh_clean -Xt/dists/Strange-2.1/DEADJOE

	# clean after test packages
	for i in Strange-0.1 Strange-2.1; do\
		if test -d "t/dists/$$i/debian"; then \
		    ( \
			cd t/dists/$$i && \
			debian/rules clean && \
			cd .. && \
			rm -rf $$i/debian; \
		    ) \
		fi \
	done