--- rxvt-unicode/src/Makefile.in 2012/09/21 23:31:43 1.172 +++ rxvt-unicode/src/Makefile.in 2016/07/14 05:33:26 1.183 @@ -36,7 +36,7 @@ dummy: COMMON = \ - background.o command.o rxvtfont.o init.o main.o misc.o \ + command.o rxvtfont.o init.o main.o misc.o \ screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \ rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o \ @@ -105,22 +105,22 @@ @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=`basename "$$ext"`; \ @IF_PERL@ $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; \ @IF_PERL@ < "$$ext" \ -@IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "'rxvt-$$ext'", $(PODOPTS))->parse_from_file' \ -@IF_PERL@ > ../mantmp; \ -@IF_PERL@ test -s ../mantmp && $(INSTALL_DATA) ../mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-$$ext.$(man1ext); \ +@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)-$$base.$(man1ext); \ @IF_PERL@ < "$$ext" $(PERL) -ne '<>, (print <> . "\n"), exit if /^=head1/' >&3; \ -@IF_PERL@ done 3>../manlst -@IF_PERL@ cat ../doc/extensions.pod.top manlst ../doc/extensions.pod.bot | \ +@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 @IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-extensions.$(man1ext) -@IF_PERL@ < urxvt.pm \ -@IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)perl", $(PODOPTS))->parse_from_file' \ +@IF_PERL@ < $(srcdir)/urxvt.pm \ +@IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)perl", section => 3, $(PODOPTS))->parse_from_file' \ @IF_PERL@ > mantmp @IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext) @@ -136,7 +136,7 @@ $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom - PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes $(srcdir)/rxvtperl.xs >$@ + PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap 'typemap.iom' -typemap 'typemap' -prototypes $(srcdir)/rxvtperl.xs >$@ rxvtperl.o: rxvtperl.C perlxsi.c $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $< @@ -242,8 +242,8 @@ rxvttoolkit.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h rxvttoolkit.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h rxvttoolkit.o: optinc.h -rxvtutil.o: rxvtutil.h ../libptytty/src/ecb.h ../libptytty/src/estl.h emman.h -rxvtutil.o: emman.c +rxvtutil.o: emman.c emman.h ../libptytty/src/ecb.h rxvtutil.h +rxvtutil.o: ../libptytty/src/estl.h screen.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h screen.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h screen.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h