Cleaned up mmap import a bit. Started to convert flags there, too
2 ## 10-debianlike.dpatch by Steffen Joeris <steffen.joeris@skolelinux.de>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Here we make vym debianlike :=)
8 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
12 [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
13 patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
16 -patch) patch $patch_opts -p1 < $0;;
17 -unpatch) patch $patch_opts -p1 -R < $0;;
19 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
26 --- Makefile.org 2005-08-05 17:37:51.546689964 +0200
27 +++ vym-1.7.0/Makefile 2005-08-05 17:34:24.950701764 +0200
34 +INSTALL_ROOT= $(DESTDIR)
42 - @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/"
43 - -$(INSTALL_FILE) "doc/vym.pdf" "$(INSTALL_ROOT)/usr/share/doc/packages/vym/"
44 + @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/doc/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/doc/vym/"
45 + -$(INSTALL_FILE) "doc/vym.pdf" "$(INSTALL_ROOT)/usr/share/doc/vym/"
49 - -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/doc/packages/vym/vym.pdf"
50 - -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/"
51 + -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/doc/vym/vym.pdf"
52 + -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/doc/vym/"