File: rules

package info (click to toggle)
backdoor-factory 3.4.2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,340 kB
  • sloc: python: 8,999; ansic: 2,703; sh: 1,263; asm: 136; makefile: 40
file content (36 lines) | stat: -rwxr-xr-x 1,067 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/make -f

# get back current tag release notes from GitHub
mkrelease:
	quilt push changelog.patch
	debian/lib/gen_changelog.sh
	dos2unix changelog
	quilt refresh
	quilt pop -a
	@echo
	@echo This target is made to fail intentionally, to make sure
	@echo that it is NEVER run during the automated build. Please
	@echo ignore the following error, the changelog file has been
	@echo generated SUCCESSFULLY.
	@echo
	exit 1
	
mkman:
	go-md2man -in debian/backdoor-factory.1.md -out debian/backdoor-factory.1
	@echo
	@echo This target is made to fail intentionally, to make sure
	@echo that it is NEVER run during the automated build. Please
	@echo ignore the following error, the changelog file has been
	@echo generated SUCCESSFULLY.
	@echo
	exit 1

# using pybuild for install
# backdoor.py is properly named backdoor-factory
# pyc and egg-info files are cleaned
override_dh_install:
	dh_install
	mv $(CURDIR)/debian/backdoor-factory/usr/bin/backdoor.py $(CURDIR)/debian/backdoor-factory/usr/bin/backdoor-factory

%:
	dh $@ --with python3 --buildsystem=pybuild