rearrange the debian/rules file
This commit is contained in:
parent
8f8da67485
commit
e75ec240d6
2 changed files with 15 additions and 16 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -2,8 +2,9 @@ midori (0.1.6-2) UNRELEASED; urgency=low
|
|||
|
||||
* adopt package: set myself as maintainer, remove uploaders, remove dm
|
||||
flag (Closes: #528731)
|
||||
* rearrange the debian/rules file
|
||||
|
||||
-- Ryan Niebur <ryanryan52@gmail.com> Thu, 14 May 2009 21:24:27 -0700
|
||||
-- Ryan Niebur <ryanryan52@gmail.com> Thu, 14 May 2009 22:14:14 -0700
|
||||
|
||||
midori (0.1.6-1) experimental; urgency=low
|
||||
|
||||
|
|
28
debian/rules
vendored
28
debian/rules
vendored
|
@ -1,32 +1,30 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
include /usr/share/quilt/quilt.make
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
# http://bugs.debian.org/499225
|
||||
clean: unpatch
|
||||
|
||||
build binary-arch: patch
|
||||
|
||||
override_dh_auto_clean:
|
||||
./waf --nocache distclean
|
||||
# Upstream doesn't clean up after "./waf check".
|
||||
rm -rf _build_
|
||||
|
||||
override_dh_auto_configure:
|
||||
./waf --nocache configure --prefix /usr
|
||||
|
||||
override_dh_auto_build:
|
||||
./waf --nocache build --debug full
|
||||
|
||||
override_dh_auto_test:
|
||||
./waf --nocache check
|
||||
|
||||
override_dh_auto_install:
|
||||
./waf --nocache install --destdir debian/tmp
|
||||
# By deleting these two unnecessary files here, midori.install can
|
||||
# just say "install everything from /usr" instead of having to list
|
||||
# all the other files.
|
||||
rm -f debian/tmp/usr/share/doc/midori/COPYING
|
||||
rm -f debian/tmp/usr/share/doc/midori/TRANSLATE
|
||||
rm -f debian/tmp/usr/share/doc/midori/COPYING debian/tmp/usr/share/doc/midori/TRANSLATE
|
||||
|
||||
override_dh_strip: # http://bugs.debian.org/510772
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=midori-dbg
|
||||
|
||||
## While we wait for the Debian archive to support 3.0 (quilt).
|
||||
ifeq (,$(wildcard debian/source/format))
|
||||
include /usr/share/quilt/quilt.make
|
||||
clean: unpatch
|
||||
build binary-arch: patch
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue