From f7cdadbeac0ff1a9932aee5b24592e622433cd9a Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Fri, 30 Mar 2007 20:12:08 +0000 Subject: [PATCH 1/1] patch Makefile; part 2 --- debian/dirs | 1 - debian/patches/00list | 1 + debian/patches/01_mandir.dpatch | 27 +++++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) delete mode 100644 debian/dirs create mode 100644 debian/patches/00list create mode 100755 debian/patches/01_mandir.dpatch diff --git a/debian/dirs b/debian/dirs deleted file mode 100644 index 236670a..0000000 --- a/debian/dirs +++ /dev/null @@ -1 +0,0 @@ -usr/sbin diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 0000000..25797c5 --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1 @@ +01_mandir diff --git a/debian/patches/01_mandir.dpatch b/debian/patches/01_mandir.dpatch new file mode 100755 index 0000000..abd3277 --- /dev/null +++ b/debian/patches/01_mandir.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_mandir.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No fix path to dir for manpage in Makefile + +@DPATCH@ +diff -urNad iodine~/Makefile iodine/Makefile +--- iodine~/Makefile 2007-03-30 21:35:47.000000000 +0200 ++++ iodine/Makefile 2007-03-30 22:10:22.000000000 +0200 +@@ -16,13 +16,13 @@ + $(MKDIR) $(MKDIR_FLAGS) $(PREFIX)/sbin + $(INSTALL) $(INSTALL_FLAGS) bin/iodine $(PREFIX)/sbin/iodine + $(INSTALL) $(INSTALL_FLAGS) bin/iodined $(PREFIX)/sbin/iodined +- $(MKDIR) $(MKDIR_FLAGS) $(PREFIX)/man/man8 +- $(INSTALL) $(INSTALL_FLAGS) man/iodine.8 $(PREFIX)/man/man8/iodine.8 ++ $(MKDIR) $(MKDIR_FLAGS) $(PREFIX)/share/man/man8 ++ $(INSTALL) $(INSTALL_FLAGS) man/iodine.8 $(PREFIX)/share/man/man8/iodine.8 + + uninstall: + $(RM) $(RM_FLAGS) $(PREFIX)/sbin/iodine + $(RM) $(RM_FLAGS) $(PREFIX)/sbin/iodined +- $(RM) $(RM_FLAGS) $(PREFIX)/man/man8/iodine.8 ++ $(RM) $(RM_FLAGS) $(PREFIX)/share/man/man8/iodine.8 + + test: all + @(cd tests; make all) -- 2.30.2