1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk
export CFLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
libdir = /usr/lib/$(DEB_HOST_MULTIARCH)/pseudo
%:
dh $@
override_dh_auto_configure:
./configure --prefix=/usr --bits=$(DEB_HOST_ARCH_BITS) --libdir=$(libdir) --without-rpath
sed -e 's,@LIBDIR@,$(libdir),g' debian/fakeroot-pseudo.in > debian/fakeroot-pseudo
override_dh_auto_install:
dh_auto_install
rm -r debian/*/usr/var
override_dh_auto_test:
unset LD_PRELOAD; \
dh_auto_test
override_dh_installchangelogs:
dh_installchangelogs ChangeLog.txt
|