touch $@
build_arch: control-files-stamp $(build_arch_stamps)
+build_all: control-files-stamp $(build_stamps)
+
+# do nothing until we know which binary target is called
+build:
-build: control-files-stamp $(build_stamps)
build-wxbase-shared-stamp:
dh_testdir
install_arch: build_arch $(install_all_arch)
-install: build $(install_all)
+install: build_all $(install_all)
install-wxbase-lib: DH_OPTIONS=-p$(package_wxbase_lib)
install-wxbase-lib: build-wxbase-shared-stamp
dh_installdirs
binary-common:
- dh_testversion 2
dh_testdir
dh_testroot
dh_installdocs
# Build architecture-independent files here.
# Note that you currently can't build the indep packages without first
# building the arch specific package files needed to create them.
-binary-indep: build install
+binary-indep: build_all install
$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
# Build just the architecture-dependent files here.
$(MAKE) -f debian/rules DH_OPTIONS=-p$(package_doc) binary-common
-.PHONY: build build_arch clean binary-indep binary-arch binary binary-common \
+.PHONY: build build_all build_arch clean binary-indep binary-arch binary binary-common \
binary-gtk binary-gtk-dev binary-gtk-dbg binary-wxbase binary-wxbase-dev \
binary-wxbase-dbg binary-doc install install_arch install-wxbase-lib \
install-wxbase-dev install-wxbase-dbg install-gtk-lib install-gtk-dev \