[med-svn] r3573 - trunk/packages/mummer/trunk/debian
Charles Plessy
plessy at alioth.debian.org
Tue Jun 30 11:04:23 UTC 2009
Author: plessy
Date: 2009-06-30 11:04:22 +0000 (Tue, 30 Jun 2009)
New Revision: 3573
Added:
trunk/packages/mummer/trunk/debian/mummer.dirs
Modified:
trunk/packages/mummer/trunk/debian/rules
Log:
Further efforts to build without pathes, but package is still broken for the moment.
Added: trunk/packages/mummer/trunk/debian/mummer.dirs
===================================================================
--- trunk/packages/mummer/trunk/debian/mummer.dirs (rev 0)
+++ trunk/packages/mummer/trunk/debian/mummer.dirs 2009-06-30 11:04:22 UTC (rev 3573)
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib/mummer
Modified: trunk/packages/mummer/trunk/debian/rules
===================================================================
--- trunk/packages/mummer/trunk/debian/rules 2009-06-29 10:43:15 UTC (rev 3572)
+++ trunk/packages/mummer/trunk/debian/rules 2009-06-30 11:04:22 UTC (rev 3573)
@@ -9,24 +9,23 @@
# prevent compression of PDF docs
DEB_COMPRESS_EXCLUDE := .pdf
-## copied from polipo package to avoid conflict whan upstream changes CFLAGS inside Makefile
-DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) make \
- INSTALL_AUX_BIN_DIR=/usr/lib/mummer/aux_bin \
- INSTALL_BIN_DIR=/usr/bin \
- INSTALL_SCRIPT_DIR=/usr/share/perl5 \
- -C $(DEB_BUILDDIR)
+# src/kurtz/mm3src/Makefile and src/kurtz/streesrc/Makefile make a use of CFLAGS that does not allow to override it, hence the following is added:
+CFLAGS += -DSTREEHUGE -I$(CURDIR)/src/kurtz/libbasedir -I$(CURDIR)/src/kurtz/streesrc
-configure::
- (cd src/tigr && ln -s ../../aux_bin . )
- make check
+MUMMER_DIRS = BIN_DIR=$(CURDIR)/debian/mummer/usr/bin AUX_BIN_DIR=$(CURDIR)/debian/mummer/usr/lib/mummer
+# Install in a debian/tmp directory.
+DEB_MAKE_BUILD_TARGET = all $MUMMER_DIRS
+DEB_MAKE_INSTALL_TARGET = install $MUMMER_DIRS
+DEB_MAKE_CHECK_TARGET = check
+
build/mummer-doc::
cd doc; make
-# $(MAKE) DESTDIR=$(CURDIR)/debian/mummer
clean::
rm -f src/tigr/aux_bin
rm -rf bin
+ rm -rf $(CURDIR)/debian/tmp
# post installation
install/mummer::
More information about the debian-med-commit
mailing list