dumb-init/debian/rules

33 lines
637 B
Text
Raw Normal View History

2015-07-30 02:03:55 +03:00
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
2015-07-30 02:03:55 +03:00
%:
dh $@
2015-08-05 23:05:40 +03:00
MAN=debian/dumb-init.1
override_dh_clean:
$(RM) -rv .cache
dh_clean $(MAN)
$(MAN):
2016-01-08 00:51:50 +03:00
help2man --name 'a minimal init system for Linux containers' \
--no-discard-stderr \
--include debian/help2man \
--no-info \
./dumb-init > $@
override_dh_installman: $(MAN)
dh_installman
2016-01-08 00:51:50 +03:00
2015-08-05 23:05:40 +03:00
override_dh_builddeb:
# Use gzip instead of xz to support older Debian/Ubuntu releases which
# might install our debs.
2015-08-05 23:05:40 +03:00
dh_builddeb -- -Zgzip
override_dh_auto_test:
2015-09-12 01:57:22 +03:00
find . -name '*.pyc' -delete
2015-09-17 03:16:05 +03:00
find . -name '__pycache__' -delete
2015-09-12 01:57:22 +03:00
PATH=.:$$PATH py.test tests/
ps aux