Add build-arch and build-indep targets to debian/rules

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 8 years ago
parent 1e8cfb2822
commit bd06c0aa4b

@ -74,7 +74,8 @@ dbg-build-%/configure-stamp:
CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP=""
touch $@
build: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp)
build build-arch: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp)
build-indep:
build-%/build-stamp: build-%/configure-stamp
dh_testdir
@ -177,4 +178,4 @@ binary-arch: install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary configure
.PHONY: build build-arch clean binary-indep binary-arch binary configure

@ -32,8 +32,9 @@ configure-stamp:
cd designer; qmake
touch configure-stamp
build build-arch: build-stamp
build-indep:
build: build-stamp
build-stamp: configure-stamp
dh_testdir
@ -106,4 +107,4 @@ binary-arch: build install
dh_builddeb -a $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
.PHONY: build build-arch clean binary-indep binary-arch binary install configure

@ -59,7 +59,8 @@ dbg-build-%/configure-stamp:
-v /opt/trinity/share/sip/trinity -j $(SPLIT)
touch $@
build: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp)
build build-arch: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp)
build-indep:
build-%/build-stamp: build-%/configure-stamp
dh_testdir
@ -166,4 +167,4 @@ binary-arch: build install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
.PHONY: build build-arch clean binary-indep binary-arch binary install install-indep install-arch configure

@ -76,7 +76,8 @@ dbg-build-%/configure-stamp:
CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP=""
touch $@
build: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp)
build build-arch: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp)
build-indep:
build-%/build-stamp: build-%/configure-stamp
dh_testdir
@ -179,4 +180,4 @@ binary-arch: install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary configure
.PHONY: build build-arch clean binary-indep binary-arch binary configure

@ -32,8 +32,9 @@ configure-stamp:
cd designer; qmake
touch configure-stamp
build build-arch: build-stamp
build-indep:
build: build-stamp
build-stamp: configure-stamp
dh_testdir
@ -106,4 +107,4 @@ binary-arch: build install
dh_builddeb -a $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
.PHONY: build build-arch clean binary-indep binary-arch binary install configure

@ -61,7 +61,8 @@ dbg-build-%/configure-stamp:
-v /opt/trinity/share/sip/trinity -j $(SPLIT)
touch $@
build: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp)
build build-arch: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp)
build-indep:
build-%/build-stamp: build-%/configure-stamp
dh_testdir
@ -168,4 +169,4 @@ binary-arch: build install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
.PHONY: build build-arch clean binary-indep binary-arch binary install install-indep install-arch configure

@ -76,7 +76,8 @@ dbg-build-%/configure-stamp:
CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP=""
touch $@
build: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp)
build build-arch: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp)
build-indep:
build-%/build-stamp: build-%/configure-stamp
dh_testdir
@ -179,4 +180,4 @@ binary-arch: install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary configure
.PHONY: build build-arch clean binary-indep binary-arch binary configure

@ -32,8 +32,9 @@ configure-stamp:
cd designer; qmake
touch configure-stamp
build build-arch: build-stamp
build-indep:
build: build-stamp
build-stamp: configure-stamp
dh_testdir
@ -106,4 +107,4 @@ binary-arch: build install
dh_builddeb -a $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
.PHONY: build build-arch clean binary-indep binary-arch binary install configure

@ -61,7 +61,8 @@ dbg-build-%/configure-stamp:
-v /opt/trinity/share/sip/trinity -j $(SPLIT)
touch $@
build: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp)
build build-arch: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp)
build-indep:
build-%/build-stamp: build-%/configure-stamp
dh_testdir
@ -168,4 +169,4 @@ binary-arch: build install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
.PHONY: build build-arch clean binary-indep binary-arch binary install install-indep install-arch configure

Loading…
Cancel
Save