Browse Source

* Use debhelper v7; rules file simplification.

- Removed commit target from rules file. (Doubt anyone uses it.)
  - DEBUG=0 has no effect when building anymore, removed that from rules
    file.
tags/2.75
Joey Hess 13 years ago
parent
commit
2aa6bc3718
5 changed files with 12 additions and 49 deletions
  1. +4
    -0
      debian/changelog
  2. +1
    -1
      debian/compat
  3. +1
    -1
      debian/control
  4. +1
    -0
      debian/docs
  5. +5
    -47
      debian/rules

+ 4
- 0
debian/changelog View File

@@ -4,6 +4,10 @@ tasksel (2.75) UNRELEASED; urgency=low
* Add uim-applet-{kde,gnome} to the japanese desktop tasks, as
Kenshi suggests.
* Add libgl1-mesa-dri to the desktop task. Closes: #481464
* Use debhelper v7; rules file simplification.
- Removed commit target from rules file. (Doubt anyone uses it.)
- DEBUG=0 has no effect when building anymore, removed that from rules
file.

-- Joey Hess <joeyh@debian.org> Wed, 14 May 2008 17:10:27 -0400



+ 1
- 1
debian/compat View File

@@ -1 +1 @@
5
7

+ 1
- 1
debian/control View File

@@ -4,7 +4,7 @@ Priority: important
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Uploaders: Joey Hess <joeyh@debian.org>
Standards-Version: 3.7.3
Build-Depends: po-debconf, debhelper (>= 5), gettext, dpkg-dev (>= 1.9.0)
Build-Depends: po-debconf, debhelper (>= 7), gettext, dpkg-dev (>= 1.9.0)
Vcs-Svn: svn://svn.debian.org/tasksel/trunk

Package: tasksel


+ 1
- 0
debian/docs View File

@@ -0,0 +1 @@
TODO README

+ 5
- 47
debian/rules View File

@@ -1,60 +1,18 @@
#!/usr/bin/make -f
%:
dh $@

VERSION=$(shell LC_ALL=C dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
TARNAME=task-overrides_$(VERSION)_all.tar.gz

commit: commit-stamp
commit-stamp:
dh_testdir
svn commit
touch commit-stamp

build: build-stamp
build-stamp:
dh_testdir
$(MAKE) DEBUG=0
touch build-stamp

clean:
dh_testdir
dh_testroot
rm -f build-stamp install-stamp commit-stamp
$(MAKE) clean
dh_clean

install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
binary-indep:
dh $@ --before dh_auto_install
$(MAKE) install DESTDIR=`pwd`/debian/tasksel
$(MAKE) install-data DESTDIR=`pwd`/debian/tasksel-data
touch install-stamp

binary-arch: build install

binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs TODO README
dh_installmenu
dh_installman
dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_installdebconf
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dh $@ --after dh_auto_install

# Add tarball with overrides file for byhand processing
cd debian/external-overrides && tar czvf ../../../$(TARNAME) .
dpkg-distaddfile $(TARNAME) byhand -


binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

Loading…
Cancel
Save