[Pkg-scicomp-commits] atlas/trunk/debian
Sylvestre Ledru
sylvestre.ledru at inria.fr
Sat Sep 12 18:13:46 UTC 2009
SVN commit 4584 by sylvestre-guest:
Handle rename rules for control.in
M +7 -1 atlas/trunk/debian/rules
--- atlas/trunk/debian/rules #4583:4584
@@ -101,6 +101,9 @@
# therefor, leaving the choice of the optimization to Atlas
# * After that, we fall back to the normal build procedure by calling
# debian/rules itself (yep, recursively)
+
+ # Remove all the other archs in this case
+ sed '/AFTER THAT/q' $(CURDIR)/debian/control.in > $(CURDIR)/debian/control
debian/rules ARCHS=base__ binary
touch $@
@@ -155,7 +158,7 @@
clean-work:
dh_testdir
dh_testroot
- rm -rf build check
+ rm -rf build check debian/control
rm -f build-arch-stamp build-indep-stamp
rm -f install-arch-stamp install-indep-stamp configure-stamp
@@ -197,6 +200,9 @@
# dh_install -s --sourcedir=$(CURDIR)/debian/atlas --list-missing
binary: binary-indep binary-arch
+ if test $(ARCHS) != "base__"; then \
+ cp $(CURDIR)/debian/control.in $(CURDIR)/debian/control; \
+ fi
binary-indep: build install
dh_testdir -i
More information about the Pkg-scicomp-commits
mailing list