File: rules

package info (click to toggle)
taxy-magit-section-el 0.13-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 152 kB
  • sloc: lisp: 311; makefile: 13
file content (17 lines) | stat: -rwxr-xr-x 469 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh $@ --with elpa

override_dh_auto_build:
	test -f taxy-magit-section.info.orig \
		|| mv taxy-magit-section.info taxy-magit-section.info.orig
	emacs -q --batch -l ox-texinfo \
		--eval '(find-file "README.org")' \
		--eval '(org-texinfo-export-to-info)'
	mv README.info taxy-magit-section.info

override_dh_auto_clean:
	rm -f README.texi
	test -f taxy-magit-section.info.orig \
		&& mv taxy-magit-section.info.orig taxy-magit-section.info ||: