Browse Source

Remove nondeterminism from man compression

Replacing the previous attempt (using a debhelper) with simply changing
the way we compress the man pages.

The debhelper didnt appear to be working - perhaps because the man page
compression was not done within the debian package build framework.
pull/1115/head
Hamish Coleman 1 year ago
parent
commit
e42cbd7e0c
  1. 3
      Makefile
  2. 4
      packages/debian/debian/rules.in

3
Makefile

@ -178,7 +178,6 @@ DOCS=edge.8.gz supernode.1.gz n2n.7.gz
BUILD_DEP:=\ BUILD_DEP:=\
autoconf \ autoconf \
build-essential \ build-essential \
dh-strip-nondeterminism \
flake8 \ flake8 \
gcovr \ gcovr \
libcap-dev \ libcap-dev \
@ -232,7 +231,7 @@ endif
cp $< $@ cp $< $@
%.gz : % %.gz : %
gzip -c $< > $@ gzip -n -c $< > $@
$(N2N_LIB): $(N2N_OBJS) $(N2N_LIB): $(N2N_OBJS)
$(AR) rcs $(N2N_LIB) $(N2N_OBJS) $(AR) rcs $(N2N_LIB) $(N2N_OBJS)

4
packages/debian/debian/rules.in

@ -12,9 +12,6 @@
# http://www.tin.org/bin/man.cgi?section=7&topic=debhelper # http://www.tin.org/bin/man.cgi?section=7&topic=debhelper
# #
# Not needed for newer debhelper versions, but some builders run older ones
export GZIP=-n
package=@APP@ package=@APP@
build: build-stamp build: build-stamp
@ -47,7 +44,6 @@ binary-arch: build install
dh_installman dh_installman
dh_strip dh_strip
dh_compress dh_compress
dh_strip_nondeterminism
dh_fixperms dh_fixperms
dh_installdeb dh_installdeb
cp -r n2n debian cp -r n2n debian

Loading…
Cancel
Save