[Pkg-cli-libs-commits] r4201 - /packages/taoframework/trunk/debian/rules
sho at users.alioth.debian.org
sho at users.alioth.debian.org
Sat Aug 1 00:08:25 UTC 2009
Author: sho
Date: Sat Aug 1 00:08:24 2009
New Revision: 4201
URL: http://svn.debian.org/wsvn/pkg-cli-libs/?sc=1&rev=4201
Log:
Clean up debian/rules.
Modified:
packages/taoframework/trunk/debian/rules
Modified: packages/taoframework/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/taoframework/trunk/debian/rules?rev=4201&op=diff
==============================================================================
--- packages/taoframework/trunk/debian/rules (original)
+++ packages/taoframework/trunk/debian/rules Sat Aug 1 00:08:24 2009
@@ -15,13 +15,11 @@
touch configure-stamp
build: build-stamp
-build-stamp: configure-stamp
+build-stamp: configure-stamp
dh_testdir
$(MAKE)
- # Build the documentation and also copy the .config files to a
- # place that dh_install can use.
- #mkdir -p $(CURDIR)/build/doc/tmp
- #mkdir -p $(CURDIR)/build/examples
+ touch build-stamp
+
#for dir in $(shell find -maxdepth 2 -wholename './Tao.*/Tao.*' -type d | grep -v '\(Cg\|Glfw\|Tests\|Windows\)'); do \
# base="$${dir##*/}"; \
# cp $(CURDIR)/$$dir/$$base.dll \
@@ -38,13 +36,6 @@
# if [ "$$version" != "$$pcversion" ]; then echo "Error: version $$pcversion in debian/tao-$$pkg-$$abi.pc does not match tao.$$base version $$version"; exit 1; fi; \
# if [ ! -f debian/libtaoframework-$$pkg$$abi-cil.install ]; then echo "Error: file debian/libtaoframework-$$pkg$$abi-cil.install for tao.$$base (version $$version) not found"; exit 1; fi; \
#done
- ## $(patsubst) and $(wildcard) would have been elegant here, but for
- ## some reason they are not expanded when called by svn-buildpackage
- ## (while perfectly working upon manual invokation of debian/rules)
- #/usr/bin/mdassembler \
- # --out $(CURDIR)/build/doc/Tao \
- # $$(find $(CURDIR)/build/doc/tmp/ -mindepth 1 -maxdepth 1 | xargs printf '--ecma %s ')
- touch build-stamp
clean:
dh_testdir
@@ -53,16 +44,13 @@
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || $(MAKE) distclean
rm -rf $(CURDIR)/debian/examples
- #for builddir in $(BUILDDIRS); do \
- # (cd Tao.$$builddir && [ ! -f Makefile ] || $(MAKE) distclean) || exit 1; \
- #done
QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
- dh_clean
+ dh_clean
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_clean -k
$(MAKE) install DESTDIR=$$(pwd)/debian/tmp
# Copy examples contents
More information about the Pkg-cli-libs-commits
mailing list