File: rules

package info (click to toggle)
sasl-xoauth2 0.20-1
  • links: PTS
  • area: main
  • in suites: experimental
  • size: 284 kB
  • sloc: cpp: 1,481; python: 237; makefile: 9; sh: 1
file content (13 lines) | stat: -rwxr-xr-x 498 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

execute_after_dh_auto_build:
	mkdir -p completions manpages
	register-python-argcomplete --shell bash sasl-xoauth2-tool > completions/sasl-xoauth2-tool
	argparse-manpage --pyfile $(wildcard obj*/scripts/sasl-xoauth2-tool) --object parser \
		--author 'Tarick Bedeir' --author-email 'tarick@bedeir.com' --project-name sasl-xoauth2 \
		--url https://github.com/tarickb/sasl-xoauth2 --output manpages/sasl-xoauth2-tool.1