repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: daa08c2f1c54bf15f9806af203002a802a1c2161:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit daa08c2f1c54bf15f9806af203002a802a1c2161
Author: Marc Lehmann 
Date:   Sat Sep 22 15:55:46 2012 +0000

    *** empty log message ***

diff --git a/src/Makefile.in b/src/Makefile.in
index 36506468f24772b91642fabff5faa37c02321be5..
index ..33c950c81257bf4e0f269f3b28caff9b6984ee9b 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -105,16 +105,16 @@ install-perl:
 @IF_PERL@	$(INSTALL) -d $(DESTDIR)$(man1dir)
 @IF_PERL@	$(INSTALL) -d $(DESTDIR)$(man3dir)
 @IF_PERL@	$(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm
-@IF_PERL@	cd $(srcdir)/perl; \
-@IF_PERL@	for ext in *; do \
+@IF_PERL@	for ext in $(srcdir)/perl/*; do \
 @IF_PERL@	   test -f "$$ext" || continue; \
+@IF_PERL@	   base="$${ext##*/}"; \
 @IF_PERL@	   $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; \
 @IF_PERL@	   < "$$ext" \
-@IF_PERL@	   $(PERL) -MPod::Man -e '(new Pod::Man name => "'urxvt-$$ext'", $(PODOPTS))->parse_from_file' \
+@IF_PERL@	   $(PERL) -MPod::Man -e '(new Pod::Man name => "'urxvt-$$base'", $(PODOPTS))->parse_from_file' \
 @IF_PERL@	   > ../mantmp; \
-@IF_PERL@	   test -s ../mantmp && $(INSTALL_DATA) ../mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-$$ext.$(man1ext); \
+@IF_PERL@	   test -s ../mantmp && $(INSTALL_DATA) ../mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-$$base.$(man1ext); \
 @IF_PERL@	   < "$$ext" $(PERL) -ne '<>, (print <> . "\n"), exit if /^=head1/' >&3; \
-@IF_PERL@	done 3>../manlst
+@IF_PERL@	done 3>manlst
 @IF_PERL@	cat $(srcdir)/../doc/extensions.pod.top manlst $(srcdir)/../doc/extensions.pod.bot | \
 @IF_PERL@	$(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)-extensions", $(PODOPTS))->parse_from_file' \
 @IF_PERL@	> mantmp

-----END OF PAGE-----