File: rules

package info (click to toggle)
libcvs-perl 0.07-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 416 kB
  • sloc: perl: 2,178; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 252 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	# backup and restore test data
	cp -r $(CURDIR)/cvs $(CURDIR)/cvs.sav
	dh_auto_test
	$(RM) -r $(CURDIR)/cvs
	mv $(CURDIR)/cvs.sav $(CURDIR)/cvs
endif