mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Make the printed install paths simpler for man5 files when srcdir == builddir
This commit is contained in:
parent
6a44d5192d
commit
748bab64a7
@ -13,7 +13,13 @@ PATHSCRIPT = case '@top_srcdir@' in /*) ;; *) echo $(top_builddir)/;; esac
|
||||
PATHPREFIX = $(shell $(PATHSCRIPT))
|
||||
|
||||
top_srcdir = $(PATHPREFIX)@top_srcdir@
|
||||
|
||||
SRCPATH = $(shell cd $(top_srcdir)/$(RELPATH) && pwd)
|
||||
ifeq ($(SRCPATH),$(CURPATH))
|
||||
srcdir =
|
||||
else
|
||||
srcdir = $(top_srcdir)/$(RELPATH)
|
||||
endif
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
elinks.1: $(srcdir)/elinks.1.in $(top_srcdir)/configure.in
|
||||
elinks.1: $(srcdir)elinks.1.in $(top_srcdir)/configure.in
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_FILES="$(RELPATH)$@" CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
MAN5 = $(srcdir)/elinks.conf.5 $(srcdir)/elinkskeys.5
|
||||
MAN5 = $(srcdir)elinks.conf.5 $(srcdir)elinkskeys.5
|
||||
|
||||
include $(top_srcdir)/Makefile.lib
|
||||
|
@ -26,7 +26,7 @@ OBJS = \
|
||||
|
||||
|
||||
# $(builddir)/charset.alias: $(srcdir)/config.charset
|
||||
$(builddir)/charset.alias: $(srcdir)/config.charset
|
||||
$(builddir)/charset.alias: $(srcdir)config.charset
|
||||
$(SHELL) $(srcdir)/config.charset '$(host)' > $@.new
|
||||
mv $@.new $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user