summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/knmap/debian/rules
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-24 20:49:38 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-24 20:49:38 +0200
commit400dd73349695d15f67e4e145f42893026cb3ab9 (patch)
tree1e525af297809fa6a6ba360da059a9504231c711 /ubuntu/maverick/applications/knmap/debian/rules
parent4f411154e747b655fce18f115d0d893040c618fc (diff)
parent82fe514bc8a3d0ae6824e8bffce19616e5600540 (diff)
downloadtde-packaging-400dd73349695d15f67e4e145f42893026cb3ab9.tar.gz
tde-packaging-400dd73349695d15f67e4e145f42893026cb3ab9.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/maverick/applications/knmap/debian/rules')
-rwxr-xr-xubuntu/maverick/applications/knmap/debian/rules31
1 files changed, 31 insertions, 0 deletions
diff --git a/ubuntu/maverick/applications/knmap/debian/rules b/ubuntu/maverick/applications/knmap/debian/rules
new file mode 100755
index 000000000..1612bbf8a
--- /dev/null
+++ b/ubuntu/maverick/applications/knmap/debian/rules
@@ -0,0 +1,31 @@
+#!/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
+
+DEB_INSTALL_MANPAGES_knmap-trinity = knmap.1
+
+post-patches::
+ # regenerating files to build app
+ $(MAKE) -f Makefile.cvs
+
+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
+
+build/knmap-trinity::
+ docbook2x-man debian/knmap.1.docbook
+
+clean::
+ rm -f knmap.1
+ # removing files not cleaned by upstream
+ rm -f doc/en/Makefile.in
+ rm -f src/Makefile.in
+ rm -f configure
+ rm -f Makefile.in
+ rm -f subdirs
+ rm -f aclocal.m4