Comment 1 for bug 33484

Revision history for this message
In , Jim Van Zandt (jrvz) wrote : patch for "list Alias for list" manpage error

The problem is that neither "make" nor "make install" updates
apt-file.1. I suggest the following changes to Makefile.

        - Jim Van Zandt

--- Makefile-orig 2006-01-16 10:14:51.000000000 -0500
+++ Makefile 2006-01-16 10:19:40.000000000 -0500
@@ -13,9 +13,9 @@
 MANDIR=$(DESTDIR)/usr/share/man/man1
 COMPDIR=$(DESTDIR)/etc/bash_completion.d

-all:
+all: apt-file.1

-install:
+install: apt-file.1
  $(INSTALL) -d -m 755 $(MANDIR)
  $(INSTALL) -m 644 apt-file.1 $(MANDIR)
  $(INSTALL) -d -m 755 $(BINDIR)
@@ -30,8 +30,8 @@
  rm -f $(ETCDIR)/apt-file.conf
  rm -f $(MANDIR)/apt-file.1

-man:
- $(DOCBOOK2MAN) apt-file.1.sgml
+apt-file.1: apt-file.1.sgml
+ $(DOCBOOK2MAN) $<

 clean:
  rm -f *~ manpage.*