On Sun, 2005-04-10 at 14:18 +0200, jano kupec wrote: > Hi there, > > the application i'm packaging uses qmake to generate the Makefile. But > qmake uses its own DESTDIR variable (which points to where the binary > target should go), so it conflicts with DESTDIR used by > dpkg-buildpackage. > > How can i get around this? > > I invoke qmake in debian/rules configure-stamp to generate the Makefile. Maybe it was a simple beginner question, but in case anybody needs the answer, here's what i've found: The solution seems to be as simple as using another variable name in qmake's .pro file and debian/rules. E.g. like this: in the .pro file: !mac:unix:BIN_DIR = $(DEBIAN_DESTDIR)/usr/bin !mac:unix:DATA_DIR = $(DEBIAN_DESTDIR)/usr/share/packagename in debian rules: $(MAKE) install DEBIAN_DESTDIR=$(CURDIR)/debian/packagename i hope that's it... jano
Attachment:
signature.asc
Description: This is a digitally signed message part