diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-07-26 20:17:35 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-07-26 20:17:35 +0200 |
commit | 9ba0a2f4f54edb7147f5e63b12ba11c75e0e3d4a (patch) | |
tree | 6a03722fddc77e1db1321dcdbdaf79c62edee4d1 /ubuntu/maverick/applications/knmap/debian/rules | |
parent | 05e7179a7ebf530d123ec3c567381c17225686d7 (diff) | |
parent | 86909221f53fa1d7b58030054ee67f2bab53a630 (diff) | |
download | tde-packaging-9ba0a2f4f54edb7147f5e63b12ba11c75e0e3d4a.tar.gz tde-packaging-9ba0a2f4f54edb7147f5e63b12ba11c75e0e3d4a.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/maverick/applications/knmap/debian/rules')
-rwxr-xr-x | ubuntu/maverick/applications/knmap/debian/rules | 38 |
1 files changed, 27 insertions, 11 deletions
diff --git a/ubuntu/maverick/applications/knmap/debian/rules b/ubuntu/maverick/applications/knmap/debian/rules index 1612bbf8a..348e53573 100755 --- a/ubuntu/maverick/applications/knmap/debian/rules +++ b/ubuntu/maverick/applications/knmap/debian/rules @@ -1,21 +1,36 @@ #!/usr/bin/make -f -cdbs_kde_enable_debug = --disable-debug - include /usr/share/cdbs/1/rules/simple-patchsys.mk include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/kde.mk +include debian/cdbs/kde.mk + +DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include +DEB_CONFIGURE_MANDIR := /opt/trinity/share/man +DEB_CONFIGURE_PREFIX := /opt/trinity +DEB_CONFIGURE_INFODIR := /opt/trinity/share/info + +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) + +post-patches:: debian/stamp-bootstrap + +debian/stamp-bootstrap: + dh_testdir -DEB_INSTALL_MANPAGES_knmap-trinity = knmap.1 + # Regenerate build system + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in -post-patches:: - # regenerating files to build app - $(MAKE) -f Makefile.cvs + autoreconf --install && automake -f && \ + $(MAKE) -f admin/Makefile.common && \ + touch debian/stamp-bootstrap -install/knmap-trinity:: - dh_install src/knmap.desktop usr/share/applications/tde - dh_link opt/trinity/share/doc/tde/HTML/en/knmap usr/share/doc/knmap/html - dh_iconcache +binary-install/knmap-trinity:: + dh_link opt/trinity/share/doc/tde/HTML/en/knmap usr/share/doc/$(cdbs_curpkg)/html + mv debian/$(cdbs_curpkg)/usr/share/man debian/$(cdbs_curpkg)/opt/trinity/share/ build/knmap-trinity:: docbook2x-man debian/knmap.1.docbook @@ -29,3 +44,4 @@ clean:: rm -f Makefile.in rm -f subdirs rm -f aclocal.m4 + rm -f debian/stamp-bootstrap |