diff options
author | Mike Hommey <glandium@debian.org> | 2010-06-29 10:37:05 +0200 |
---|---|---|
committer | Mike Hommey <glandium@debian.org> | 2010-06-29 10:37:14 +0200 |
commit | a8157544b90a7d8f7f691963ad4876d5f2ee5dff (patch) | |
tree | dd8d8ec9882885e2d97db02bb2aa0e717a4454c9 | |
parent | 7b3699f763bf4d23d0fd717855dc86d82cbb6537 (diff) | |
download | libxml2-a8157544b90a7d8f7f691963ad4876d5f2ee5dff.tar.gz |
Move libxml2-udeb control data in a separate file
-rw-r--r-- | debian/control | 15 | ||||
-rw-r--r-- | debian/control.udeb | 15 | ||||
-rwxr-xr-x | debian/rules | 2 |
3 files changed, 17 insertions, 15 deletions
diff --git a/debian/control b/debian/control index 215dd50..bad7f7f 100644 --- a/debian/control +++ b/debian/control @@ -132,18 +132,3 @@ Description: Python bindings for the GNOME XML library (debug extension) This package contains the files needed to use the GNOME XML library in Python programs for use with the Python debug interpreter. -Package: libxml2-udeb -XC-Package-Type: udeb -Architecture: any -Section: debian-installer -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: GNOME XML library - minimal runtime - XML is a metalanguage to let you design your own markup language. - A regular markup language defines a way to describe information in - a certain class of documents (eg HTML). XML lets you define your - own customized markup languages for many classes of document. It - can do this because it's written in SGML, the international standard - metalanguage for markup languages. - . - This is a minimal package for use in debian-installer that yields a - library providing an extensive API to handle such XML data files. diff --git a/debian/control.udeb b/debian/control.udeb new file mode 100644 index 0000000..db96953 --- /dev/null +++ b/debian/control.udeb @@ -0,0 +1,15 @@ +Package: libxml2-udeb +XC-Package-Type: udeb +Architecture: any +Section: debian-installer +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: GNOME XML library - minimal runtime + XML is a metalanguage to let you design your own markup language. + A regular markup language defines a way to describe information in + a certain class of documents (eg HTML). XML lets you define your + own customized markup languages for many classes of document. It + can do this because it's written in SGML, the international standard + metalanguage for markup languages. + . + This is a minimal package for use in debian-installer that yields a + library providing an extensive API to handle such XML data files. diff --git a/debian/rules b/debian/rules index 4035df5..4729f54 100755 --- a/debian/rules +++ b/debian/rules @@ -18,8 +18,10 @@ TARGETS := main $(PYVERS) $(PYVERS:%=%-dbg) WITH_UDEB := $(shell dpkg-vendor --derives-from Ubuntu && echo yes) ifdef WITH_UDEB +$(if $(shell grep -q libxml2-udeb debian/control || echo yes),$(shell cat debian/control.udeb >> debian/control)) TARGETS += udeb else +$(if $(shell grep -q libxml2-udeb debian/control && echo yes),$(shell sed -i /libxml2-udeb/,\$$d debian/control)) export DH_OPTIONS = -Nlibxml2-udeb endif |