Commit 180fb778 authored by Markus Koschany's avatar Markus Koschany

Fix FTCBFS: Let dh_auto_build pass cross flags.

Closes: #843921
Thanks: Helmut Grohne for the report and patch.
parent 75beab85
......@@ -7,18 +7,17 @@ LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
%:
dh $@
dh $@ --sourcedirectory=src
override_dh_auto_clean:
cd $(CURDIR)/src \
&& $(MAKE) clean \
&& $(RM) -r -v fromdos todos
dh_auto_clean
$(RM) -r -v src/fromdos src/todos
override_dh_auto_build:
cd $(CURDIR)/src && $(MAKE) CDEBUG="$(CFLAGS)" LDEBUG="$(LDFLAGS)"
dh_auto_build -- CDEBUG="$(CFLAGS)" LDEBUG="$(LDFLAGS)"
override_dh_auto_install:
cd $(CURDIR)/src && $(MAKE) install \
dh_auto_install -- \
BINDIR=$(CURDIR)/debian/tofrodos/usr/bin \
MANDIR=$(CURDIR)/debian/tofrodos/usr/share/man/man1
......
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