From 12921402bed782c15887660b49b809f31861b574 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 11:37:37 -0500 Subject: Add preliminary knmap packaging files for Debian and Ubuntu --- ubuntu/maverick/applications/knmap/debian/rules | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 ubuntu/maverick/applications/knmap/debian/rules (limited to 'ubuntu/maverick/applications/knmap/debian/rules') 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 -- cgit v1.2.1