From 6250f5bdc57c17a5b292a5477c0bac3698e022fc Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Sun, 5 Oct 2003 16:14:02 +0000 Subject: fix problem reported on [w3m-dev 03981] from Mamoru KOMACHI * configure.in: add AC_SUBST(HELP_DIR) * Makefile.in (HELP_DIR): use AC_SUBT(HELP_DIR) * scripts/Makefile.in: add PACKAGE, VERSION, DOMAIN use PACKAGE instead of package: CGIBIN_DIR,AUXBIN_DIR,CONF_DIR add HELP_DIR add SUBDIRS (install unstall): do $(SUBDIRS) * scripts/multipart/Makefile.in: add PACKAGE,VERSION,DOMAIN use PACKAGE instead of package: CGIBIN_DIR,AUXBIN_DIR,CONF_DIR add HELP_DIR * scripts/w3mman/Makefile.in: add PACKAGE,VERSION,DOMAIN use PACKAGE instead of package: CGIBIN_DIR,AUXBIN_DIR,CONF_DIR add HELP_DIR add BIN_DIR, MAN1_DIR LIB_TARGETS->CGIBIN_TARGETS fix INSTALL_MAN --- scripts/multipart/Makefile.in | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'scripts/multipart/Makefile.in') diff --git a/scripts/multipart/Makefile.in b/scripts/multipart/Makefile.in index e153264..269068a 100644 --- a/scripts/multipart/Makefile.in +++ b/scripts/multipart/Makefile.in @@ -1,5 +1,8 @@ @SET_MAKE@ SHELL=@SHELL@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ +DOMAIN = $(PACKAGE) srcidr=@srcdir@ top_srcdir=@top_srcdir@ VPATH= $(srcdir):. @@ -22,12 +25,12 @@ top_srcdir = @top_srcdir@ VPATH = $(top_srcdir):. DESTDIR = -CGIBIN_DIR = $(libexecdir)/$(package)/cgi-bin -AUXBIN_DIR = $(libexecdir)/$(package) -HELP_DIR = $(datadir)/$(package) -RC_DIR = ~/.$(package) +CGIBIN_DIR = $(libexecdir)/$(PACKAGE)/cgi-bin +AUXBIN_DIR = $(libexecdir)/$(PACKAGE) +HELP_DIR = @HELP_DIR@ +RC_DIR = @RC_DIR@ ETC_DIR = $(sysconfdir) -CONF_DIR = $(sysconfdir)/$(package) +CONF_DIR = $(sysconfdir)/$(PACKAGE) LIB_TARGETS = multipart.cgi @@ -40,6 +43,9 @@ NKF = @NKF@ all: $(LIB_TARGETS) +# do nothing +$(LIB_TARGETS): + install: $(LIB_TARGETS) -$(MKDIR) $(DESTDIR)$(LIB_DIR) for file in $(LIB_TARGETS); \ -- cgit v1.2.3