diff options
-rwxr-xr-x | debian/rules | 15 | ||||
-rw-r--r-- | debian/ucspi-tcp.manpages | 1 |
2 files changed, 15 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 2bd9a66..c309040 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,23 @@ #!/usr/bin/make -f +PREFIX_IPV4 = $(CURDIR)/debian/ucspi-tcp/usr + %: dh $@ override_dh_auto_configure: - echo $(CURDIR)/debian/ucspi-tcp/usr > conf-home + echo $(PREFIX_IPV4) > conf-home + override_dh_auto_install: + mkdir -p $(PREFIX_IPV4) ./install + ./instcheck + +# Upstream does strange thing -- its test suite assumes that programs +# are already installed. Normally, checks are performed between `build' +# and `install'. +# +# So automatic invocation of tests is inhibited, and they are invoked +# manuall at `install' stage. +override_dh_auto_test: diff --git a/debian/ucspi-tcp.manpages b/debian/ucspi-tcp.manpages new file mode 100644 index 0000000..82fe007 --- /dev/null +++ b/debian/ucspi-tcp.manpages @@ -0,0 +1 @@ +debian/ucspi-tcp-man/*.1 |