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.*
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 $(DESTDIR) /usr/share/ man/man1 $(DESTDIR) /etc/bash_ completion. d
+++ Makefile 2006-01-16 10:19:40.000000000 -0500
@@ -13,9 +13,9 @@
MANDIR=
COMPDIR=
-all:
+all: apt-file.1
-install: /apt-file. conf /apt-file. 1
+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)
rm -f $(MANDIR)
-man:
- $(DOCBOOK2MAN) apt-file.1.sgml
+apt-file.1: apt-file.1.sgml
+ $(DOCBOOK2MAN) $<
clean:
rm -f *~ manpage.*