1 export QUILT_PATCH_DIR=debian/patch
3 BUILD_DIR := debian/build
4 BUILD_DIR_TARGETS := build install patch unpatch
6 $(BUILD_DIR_TARGETS): builddir
7 $(MAKE) -f debian/rules -C $(BUILD_DIR) $@ USE_BUILD_DIR=TRUE
9 cp_excludes := .pc debian
10 cp_targets = $(filter-out $(cp_excludes),$(wildcard *))
13 tarcopy: debian/stamp-tarcopy
16 tar cf - $(cp_targets) | tar xvf - -C $(BUILD_DIR)
17 ln -sv $(CURDIR)/debian $(BUILD_DIR)
22 rm -rf $(BUILD_DIR) $(wildcard debian/stamp-*)
24 .PHONY: builddir tarcopy clean_extras