~ubuntu-branches/ubuntu/precise/tcpdump/precise-updates

« back to all changes in this revision

Viewing changes to debian/patches/10_man_install.diff

  • Committer: Bazaar Package Importer
  • Author(s): Romain Francoise
  • Date: 2008-03-08 19:24:02 UTC
  • mfrom: (6.1.3 hardy)
  • Revision ID: james.westby@ubuntu.com-20080308192402-9n7erk2yyyd5mpt3
Tags: 3.9.8-4
debian/control: Build-Depend on libpcap0.8-dev (>= 0.9.3),
not (>= 0.9.3-1).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Change man page install paths for Debian.
 
2
 
 
3
--- tcpdump-3.9.5.orig/Makefile.in
 
4
+++ tcpdump-3.9.5/Makefile.in
 
5
@@ -160,13 +160,13 @@
 
6
        [ -d $(DESTDIR)$(sbindir) ] || \
 
7
            (mkdir -p $(DESTDIR)$(sbindir); chmod 755 $(DESTDIR)$(sbindir))
 
8
        $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG)
 
9
-       [ -d $(DESTDIR)$(mandir)/man1 ] || \
 
10
-           (mkdir -p $(DESTDIR)$(mandir)/man1; chmod 755 $(DESTDIR)$(mandir)/man1)
 
11
-       $(INSTALL_DATA) $(srcdir)/$(PROG).1 $(DESTDIR)$(mandir)/man1/$(PROG).1
 
12
+       [ -d $(DESTDIR)$(mandir)/man8 ] || \
 
13
+           (mkdir -p $(DESTDIR)$(mandir)/man8; chmod 755 $(DESTDIR)$(mandir)/man8)
 
14
+       $(INSTALL_DATA) $(srcdir)/$(PROG).1 $(DESTDIR)$(mandir)/man8/$(PROG).8
 
15
 
 
16
 uninstall:
 
17
        rm -f $(DESTDIR)$(sbindir)/$(PROG)
 
18
-       rm -f $(DESTDIR)$(mandir)/man1/$(PROG).1
 
19
+       rm -f $(DESTDIR)$(mandir)/man8/$(PROG).8
 
20
 
 
21
 lint: $(GENSRC)
 
22
        lint -hbxn $(SRC) | \