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

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit bd06c0aa4b)
pull/92/head
Slávek Banko 8 years ago
parent fc594fcc8a
commit 9314792c26

@ -74,7 +74,8 @@ dbg-build-%/configure-stamp:
CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP="" CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP=""
touch $@ 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 build-%/build-stamp: build-%/configure-stamp
dh_testdir dh_testdir
@ -177,4 +178,4 @@ binary-arch: install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep 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 cd designer; qmake
touch configure-stamp touch configure-stamp
build build-arch: build-stamp
build-indep:
build: build-stamp
build-stamp: configure-stamp build-stamp: configure-stamp
dh_testdir dh_testdir
@ -106,4 +107,4 @@ binary-arch: build install
dh_builddeb -a $(DEB_DH_BUILDDEB_ARGS) dh_builddeb -a $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch 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) -v /opt/trinity/share/sip/trinity -j $(SPLIT)
touch $@ 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 build-%/build-stamp: build-%/configure-stamp
dh_testdir dh_testdir
@ -166,4 +167,4 @@ binary-arch: build install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep 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="" CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP=""
touch $@ 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 build-%/build-stamp: build-%/configure-stamp
dh_testdir dh_testdir
@ -179,4 +180,4 @@ binary-arch: install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep 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 cd designer; qmake
touch configure-stamp touch configure-stamp
build build-arch: build-stamp
build-indep:
build: build-stamp
build-stamp: configure-stamp build-stamp: configure-stamp
dh_testdir dh_testdir
@ -106,4 +107,4 @@ binary-arch: build install
dh_builddeb -a $(DEB_DH_BUILDDEB_ARGS) dh_builddeb -a $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch 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) -v /opt/trinity/share/sip/trinity -j $(SPLIT)
touch $@ 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 build-%/build-stamp: build-%/configure-stamp
dh_testdir dh_testdir
@ -168,4 +169,4 @@ binary-arch: build install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep 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="" CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP=""
touch $@ 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 build-%/build-stamp: build-%/configure-stamp
dh_testdir dh_testdir
@ -179,4 +180,4 @@ binary-arch: install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep 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 cd designer; qmake
touch configure-stamp touch configure-stamp
build build-arch: build-stamp
build-indep:
build: build-stamp
build-stamp: configure-stamp build-stamp: configure-stamp
dh_testdir dh_testdir
@ -106,4 +107,4 @@ binary-arch: build install
dh_builddeb -a $(DEB_DH_BUILDDEB_ARGS) dh_builddeb -a $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch 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) -v /opt/trinity/share/sip/trinity -j $(SPLIT)
touch $@ 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 build-%/build-stamp: build-%/configure-stamp
dh_testdir dh_testdir
@ -168,4 +169,4 @@ binary-arch: build install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep 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