File: rules

package info (click to toggle)
rg-el 2.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 756 kB
  • sloc: lisp: 3,571; python: 167; makefile: 77
file content (16 lines) | stat: -rwxr-xr-x 394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@ --with elpa

override_dh_auto_build:
	@echo Using dh-elpa for build/install instead of upstream Makefile.

override_dh_auto_clean:
	@echo Ignoring the "clean" target in upstream Makefile.

override_dh_elpa_test:
  # TODO: wrap this in an if then, and add an else case that just runs dh_elpa_test
	mkdir -p .git
	dh_elpa_test
	rmdir --ignore-fail-on-non-empty .git