summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/knmap/debian/rules
diff options
context:
space:
mode:
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