summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index e943e5b..09d76a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,12 +42,12 @@ build-stamp: $(STAMP_DIR)/genscripts $(foreach dir, $(SUBDIRS), $(STAMP_DIR)/bui
>$@
$(STAMP_DIR)/build-%: $(STAMP_DIR)/patch
- mkdir -p $*-obj-$(DEB_BUILD_GNU_TYPE)
- cd $*-obj-$(DEB_BUILD_GNU_TYPE) && \
+ mkdir -p $*-build
+ cd $*-build && \
../$*/configure --prefix=/usr --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info $(confflags) \
CFLAGS="$(CFLAGS)"
- cd $*-obj-$(DEB_BUILD_GNU_TYPE) && \
+ cd $*-build && \
$(MAKE)
>$@
@@ -60,7 +60,7 @@ clean: xsfclean
rm -f */config.cache */config.log */config.status
rm -f conftest* */conftest*
rm -rf autom4te.cache */autom4te.cache
- rm -rf *-obj-*
+ rm -rf *-build
dh_clean
@@ -71,7 +71,7 @@ install: build
dh_installdirs
set -e; for FILE in $(SUBDIRS); do \
- $(MAKE) -C $${FILE}-obj-$(DEB_BUILD_GNU_TYPE) DESTDIR=$(CURDIR)/debian/tmp install; \
+ $(MAKE) -C $${FILE}-build DESTDIR=$(CURDIR)/debian/tmp install; \
done
# Build architecture-dependent files here.