Package: help2man
Version: 1.36.1
Here are the failure symptoms (I'm running Debian stable x86):
$ tar xzf ../help2man-1.36.1.tar.gz
$ mkdir obj-Linux-i686
$ cd obj-Linux-i686
$ ../help2man-1.36.1/configure \
--prefix=/home/eggert/opt/Linux-i686/help2man-1.36.1 \
--disable-nls
> > checking for perl... perl
checking for a BSD-compatible install...
/home/eggert/opt/Linux-i686/merged/bin/install -c
checking for makeinfo... /usr/bin/makeinfo
checking for install-info... /usr/sbin/install-info
configure: creating ./config.status
config.status: creating Makefile
$ make
perl ../help2man-1.36.1/help2man.PL
Extracting help2man (with variable substitutions)
$ make DESTDIR=../stage install
../help2man-1.36.1/mkinstalldirs
../stage/home/eggert/opt/Linux-i686/help2man-1.36.1/bin
mkdir ../stage
mkdir ../stage/home
mkdir ../stage/home/eggert
mkdir ../stage/home/eggert/opt
mkdir ../stage/home/eggert/opt/Linux-i686
mkdir ../stage/home/eggert/opt/Linux-i686/help2man-1.36.1
mkdir ../stage/home/eggert/opt/Linux-i686/help2man-1.36.1/bin
../help2man-1.36.1/mkinstalldirs
../stage/home/eggert/opt/Linux-i686/help2man-1.36.1/lib
mkdir ../stage/home/eggert/opt/Linux-i686/help2man-1.36.1/lib
../help2man-1.36.1/mkinstalldirs
../stage/home/eggert/opt/Linux-i686/help2man-1.36.1/man/man1
mkdir ../stage/home/eggert/opt/Linux-i686/help2man-1.36.1/man
mkdir ../stage/home/eggert/opt/Linux-i686/help2man-1.36.1/man/man1
../help2man-1.36.1/mkinstalldirs
../stage/home/eggert/opt/Linux-i686/help2man-1.36.1/info
mkdir ../stage/home/eggert/opt/Linux-i686/help2man-1.36.1/info
/home/eggert/opt/Linux-i686/merged/bin/install -c help2man
../stage/home/eggert/opt/Linux-i686/help2man-1.36.1/bin
/home/eggert/opt/Linux-i686/merged/bin/install -c -m 644 help2man.1
../stage/home/eggert/opt/Linux-i686/help2man-1.36.1/man/man1
/home/eggert/opt/Linux-i686/merged/bin/install: cannot stat `help2man.1': No
such file or directory
make: *** [install_base] Error 1
Here is a patch:
* Change Makefile.in to support builds from other directories, as per
GNU coding standards (thanks to Paul Eggert).
--- Makefile.in 2005/10/16 16:15:54 1.36.1.0
+++ Makefile.in 2005/10/25 17:37:13 1.36.1.1
@@ -32,7 +32,7 @@ MKINSTALLDIRS = $(srcdir)/mkinstalldirs
target = help2man
preload = hacklocaledir
-all: $(target) man info @extra_make_all@
+all: $(target) man info @extra_make_all@
install: all install_base @extra_make_install@
install_base:
@@ -42,11 +42,13 @@ install_base:
$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
$(INSTALL_PROGRAM) $(target) $(DESTDIR)$(bindir)
- $(INSTALL_DATA) $(target).1 $(DESTDIR)$(mandir)/man1
- $(INSTALL_DATA) $(target).info $(DESTDIR)$(infodir)/$(target).info
+ $(INSTALL_DATA) $(srcdir)/$(target).1 $(DESTDIR)$(mandir)/man1
+ $(INSTALL_DATA) $(srcdir)/$(target).info \
+ $(DESTDIR)$(infodir)/$(target).info
if test -f $(DESTDIR)$(infodir)/dir; \
then \
- $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) $(target).info; \
+ $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) \
+ $(srcdir)/$(target).info; \
fi
install_preload: preload
@@ -57,9 +59,9 @@ install_l10n: man_l10n
do \
$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/$$lang/man1; \
$(MKINSTALLDIRS) $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
- $(INSTALL_DATA) $(target).$$lang.1 \
+ $(INSTALL_DATA) $(srcdir)/$(target).$$lang.1 \
$(DESTDIR)$(mandir)/$$lang/man1/$(target).1; \
- $(INSTALL_DATA) po/$$lang.gmo \
+ $(INSTALL_DATA) $(srcdir)/po/$$lang.gmo \
$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(target).mo; \
done
@@ -81,15 +83,16 @@ clean:
-rm -f $(target) $(preload).so
mostlyclean: clean
- rm -f $(target).dvi $(target).aux $(target).cp $(target).cps \
+ cd $(srcdir) && \
+ rm -f $(target).dvi $(target).aux $(target).cp $(target).cps \
$(target).fn $(target).ky $(target).log $(target).pg \
- $(target).toc $(target).tp $(target).vr $(srcdir)/po/*.po~
+ $(target).toc $(target).tp $(target).vr po/*.po~
distclean: mostlyclean
-rm -rf config.cache config.log config.status Makefile autom4te.cache
realclean: distclean
- -rm -f $(target).info $(target).1 $(target).*.1 po/*.gmo
+ cd $(srcdir) && rm -f $(target).info $(target).1 $(target).*.1 po/*.gmo
maintainer-clean: realclean
rm -f configure
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]