Commit 593e15ca authored by Mike Gabriel's avatar Mike Gabriel

debian/*: Drop non-multi-arch support (i.e. Debian squeeze, Ubuntu 10.04 and earlier).

parent 3983b111
...@@ -19,23 +19,11 @@ override_dh_auto_clean: ...@@ -19,23 +19,11 @@ override_dh_auto_clean:
override_dh_clean: override_dh_clean:
rm -f nx*/configure rm -f nx*/configure
. ./replace.sh; set -x; ls debian/*.install.in | while read file; do rm -f $$(string_rep $$file .install.in .install); done
rm -fR .preserve/ rm -fR .preserve/
dh_clean dh_clean
override_dh_install: override_dh_install:
# handle builds for Debian squeeze (non multi-arch)
. ./replace.sh; set -x; if [ -z "$(DEB_BUILD_MULTIARCH)" ]; then \
find debian/*.install.in | while read file; do \
cat $$file | sed -e 's#/\*/#/#g' > $$(string_rep $$file .install.in .install); \
done; \
else \
find debian/*.install.in | while read file; do \
cat $$file > $$(string_rep $$file .install.in .install); \
done; \
fi
# remove static libs # remove static libs
rm debian/tmp/usr/lib/$(DEB_BUILD_MULTIARCH)/libXcomp.a rm debian/tmp/usr/lib/$(DEB_BUILD_MULTIARCH)/libXcomp.a
rm debian/tmp/usr/lib/$(DEB_BUILD_MULTIARCH)/libXcompshad.a rm debian/tmp/usr/lib/$(DEB_BUILD_MULTIARCH)/libXcompshad.a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment