diff options
author | Benjamin Drung <bdrung@ubuntu.com> | 2010-11-16 01:56:17 +0100 |
---|---|---|
committer | Benjamin Drung <bdrung@ubuntu.com> | 2010-11-16 01:56:17 +0100 |
commit | a0310d8d5c9034c708bec303f85cfc89c2f304f5 (patch) | |
tree | aeb2536028d084e27129da41b1f89d95cd035eed /debian/rules | |
parent | 396ec5e0452ca486a397cf4890f476e62d73d4c8 (diff) |
* Switch from CDBS to dh 7 and simplifying packaging by improving Makefiles.
- add Makefile
- update debian/compat
- update debian/control
- remove debian/manpages
- update debian/rules
- update src/Makefile
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 37 |
1 files changed, 2 insertions, 35 deletions
diff --git a/debian/rules b/debian/rules index 8285ed4..2d33f6a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,37 +1,4 @@ #!/usr/bin/make -f -# Copyright (c) 2007-2008 Fabien Tassin <fta@sofaraway.org> -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2, or (at -# your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -DEB_SOURCE_PACKAGE := $(shell dpkg-parsechangelog | sed -n 's/^Source: *\(.*\)$$/\1/ p') -DEB_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\(.*\)$$/\1/ p') -DEB_ISNATIVE := 1 - -DEB_INDEP_PACKAGES = $(DEB_SOURCE_PACKAGE) -DEB_ARCH_PACKAGES = $(NULL) - -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/makefile.mk - -DEB_SRCDIR := $(CURDIR)/src -DEB_MAKE_BUILD_TARGET := build -DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/mozilla-devscripts/ -DEB_MAKE_CHECK_TARGET := test - -DEB_INSTALL_DOCS_ALL := README - -install/mozilla-devscripts:: - dh_pysupport +%: + dh $@ |