diff options
Diffstat (limited to 'ubuntu/lucid_automake/kdelibs/debian/cdbs/debian-qt-kde.mk')
-rw-r--r-- | ubuntu/lucid_automake/kdelibs/debian/cdbs/debian-qt-kde.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ubuntu/lucid_automake/kdelibs/debian/cdbs/debian-qt-kde.mk b/ubuntu/lucid_automake/kdelibs/debian/cdbs/debian-qt-kde.mk new file mode 100644 index 000000000..65f5f6f95 --- /dev/null +++ b/ubuntu/lucid_automake/kdelibs/debian/cdbs/debian-qt-kde.mk @@ -0,0 +1,27 @@ +ifndef _cdbs_bootstrap +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class +endif + +ifndef _cdbs_class_debian-qt-kde +_cdbs_class_debian-qt-kde := 1 + +common-build-arch:: debian/stamp-man-pages +debian/stamp-man-pages: + if ! test -d debian/man/out; then mkdir -p debian/man/out; fi + for f in $$(find debian/man -name '*.sgml'); do \ + docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \ + done + for f in $$(find debian/man -name '*.man'); do \ + soelim -I debian/man $$f \ + > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \ + done + touch debian/stamp-man-pages + +clean:: + rm -rf debian/man/out + -rmdir debian/man + rm -f debian/stamp-man-pages + +endif |