2
## 10_man_install.dpatch by Romain Francoise <rfrancoise@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Change man page install paths for Debian.
8
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
12
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
13
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
16
-patch) patch -p1 ${patch_opts} < $0;;
17
-unpatch) patch -R -p1 ${patch_opts} < $0;;
19
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
26
diff -urNad /home/romain/Work/Debian/tcpdump/tcpdump-3.8.3/Makefile.in tcpdump-3.8.3/Makefile.in
27
--- /home/romain/Work/Debian/tcpdump/tcpdump-3.8.3/Makefile.in 2004-05-08 09:12:28.000000000 +0200
28
+++ tcpdump-3.8.3/Makefile.in 2004-05-08 09:13:23.000000000 +0200
30
[ -d $(DESTDIR)$(sbindir) ] || \
31
(mkdir -p $(DESTDIR)$(sbindir); chmod 755 $(DESTDIR)$(sbindir))
32
$(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG)
33
- [ -d $(DESTDIR)$(mandir)/man1 ] || \
34
- (mkdir -p $(DESTDIR)$(mandir)/man1; chmod 755 $(DESTDIR)$(mandir)/man1)
35
- $(INSTALL_DATA) $(srcdir)/$(PROG).1 $(DESTDIR)$(mandir)/man1/$(PROG).1
36
+ [ -d $(DESTDIR)$(mandir)/man8 ] || \
37
+ (mkdir -p $(DESTDIR)$(mandir)/man8; chmod 755 $(DESTDIR)$(mandir)/man8)
38
+ $(INSTALL_DATA) $(srcdir)/$(PROG).1 $(DESTDIR)$(mandir)/man8/$(PROG).8
41
rm -f $(DESTDIR)$(sbindir)/$(PROG)
42
- rm -f $(DESTDIR)$(mandir)/man1/$(PROG).1
43
+ rm -f $(DESTDIR)$(mandir)/man8/$(PROG).8