diff -r 9b1806ab9199 -r b8bb7beec278 debian/patches/10-debianlike.dpatch --- a/debian/patches/10-debianlike.dpatch Mon Jun 23 11:49:20 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -#!/bin/sh -e -## 10-debianlike.dpatch by Steffen Joeris -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Here we make vym debianlike :=) - -if [ $# -lt 1 ]; then -echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" -exit 1 -fi - -[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts -patch_opts="${patch_opts:--f --no-backup-if-mismatch}" - -case "$1" in - -patch) patch $patch_opts -p1 < $0;; - -unpatch) patch $patch_opts -p1 -R < $0;; - *) - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1;; -esac - -exit 0 - -@DPATCH@ ---- Makefile.org 2005-08-05 17:37:51.546689964 +0200 -+++ vym-1.7.0/Makefile 2005-08-05 17:34:24.950701764 +0200 -@@ -172,7 +172,8 @@ - moc_editxlinkdialog.o - DIST = vym.pro - QMAKE_TARGET = vym --DESTDIR = -+DESTDIR = debian/vym -+INSTALL_ROOT= $(DESTDIR) - TARGET = vym - - first: all -@@ -822,13 +823,13 @@ - - - install_doc: all -- @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/" -- -$(INSTALL_FILE) "doc/vym.pdf" "$(INSTALL_ROOT)/usr/share/doc/packages/vym/" -+ @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/doc/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/doc/vym/" -+ -$(INSTALL_FILE) "doc/vym.pdf" "$(INSTALL_ROOT)/usr/share/doc/vym/" - - - uninstall_doc: -- -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/doc/packages/vym/vym.pdf" -- -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/" -+ -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/doc/vym/vym.pdf" -+ -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/doc/vym/" - - - install_demo: all