[ocrfeeder] Make a simple binary Debian file from Makefile's builddeb target
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] Make a simple binary Debian file from Makefile's builddeb target
- Date: Wed, 24 Mar 2010 17:18:57 +0000 (UTC)
commit d52196f9b17e650dfa0e26069e192c3d7ea31ee6
Author: Joaquim Rocha <jrocha cookiemonster local igalia com>
Date: Wed Mar 24 16:35:32 2010 +0100
Make a simple binary Debian file from Makefile's builddeb target
Makefile | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/Makefile b/Makefile
index 2e9e256..7cb1cb7 100644
--- a/Makefile
+++ b/Makefile
@@ -44,12 +44,7 @@ buildrpm: i18n
$(PYTHON) setup.py bdist_rpm --post-install=rpm/postinstall --pre-uninstall=rpm/preuninstall
builddeb: i18n
- # build the source package in the parent directory
- # then rename it to project_version.orig.tar.gz
- $(PYTHON) setup.py sdist $(COMPILE) --dist-dir=../
- rename -f 's/$(PROJECT)-(.*)\.tar\.gz/$(PROJECT)_$$1\.orig\.tar\.gz/' ../*
- # build the package
- dpkg-buildpackage -i -I -rfakeroot
+ dpkg-buildpackage -rfakeroot -b
clean:
$(PYTHON) setup.py clean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]