File: 01_fix-makefile-path.diff

package info (click to toggle)
mylvmbackup 0.13-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 244 kB
  • sloc: perl: 1,465; sh: 149; makefile: 126
file content (28 lines) | stat: -rw-r--r-- 749 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh -e
## DP: 01_fix-makefile-path.diff
if [ $# -ne 1 ]; then 
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1  
fi
case "$1" in 
    -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
    -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
    *)
        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
        exit 1;;
esac

exit 0

@DPATCH@
--- mylvmbackup-0.6.orig/Makefile	2007-05-31 11:31:29.000000000 +0200
+++ mylvmbackup-0.6/Makefile	2007-10-28 19:16:08.000000000 +0100
@@ -45,7 +45,7 @@
 sysconfdir = /etc
 bindir = $(prefix)/bin
 distdir = $(NAME)-$(VERSION)
-mandir = $(prefix)/man
+mandir = $(prefix)/share/man
 man1dir = $(mandir)/man1
 
 all: $(DISTFILES) $(MAN1)