ca4bae8577
- don't change SYSCONFDIR, use CONFDIR/SUBST_VARS instead and if neccessary use "CONFIGURE_STYLE=gnu old" and explicitly set --sysconfdir=${CONFDIR} a few more to come...
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
$OpenBSD: patch-Makefile_in,v 1.2 2003/05/12 18:02:44 sturm Exp $
|
|
--- Makefile.in.orig Sun Dec 23 16:57:51 2001
|
|
+++ Makefile.in Sun Dec 23 16:59:00 2001
|
|
@@ -17,7 +17,7 @@
|
|
INSTALL_DATA = $(INSTALL) -c -m 644
|
|
INSTALL_MAN = $(src_dir)/autoconf/install-man
|
|
|
|
-SQSHRC_GLOBAL = $(prefix)/etc/sqshrc
|
|
+SQSHRC_GLOBAL = %%SYSCONFDIR%%/sqshrc
|
|
|
|
MAN_PAGES = sqsh.1
|
|
SRCS = $(OBJS:.o=.c)
|
|
@@ -51,17 +51,7 @@
|
|
|
|
install : build-subdirs
|
|
@$(INSTALL_DIR) $(bin_dir); \
|
|
- $(INSTALL_PROG) src/$(TARGET) $(bin_dir)/$(TARGET); \
|
|
- $(INSTALL_DIR) `dirname $(SQSHRC_GLOBAL)`; \
|
|
- if test -f $(SQSHRC_GLOBAL); then \
|
|
- echo WARNING: You already have the file $(SQSHRC_GLOBAL); \
|
|
- echo installed. This file will be left untouched. The version; \
|
|
- echo supplied with this installation will be installed as; \
|
|
- echo $(SQSHRC_GLOBAL).new; \
|
|
- $(INSTALL_DATA) doc/global.sqshrc $(SQSHRC_GLOBAL).new; \
|
|
- else \
|
|
- $(INSTALL_DATA) doc/global.sqshrc $(SQSHRC_GLOBAL); \
|
|
- fi
|
|
+ $(INSTALL_PROG) src/$(TARGET) $(bin_dir)/$(TARGET);
|
|
|
|
install-wrapper : install
|
|
@mv $(bin_dir)/$(TARGET) $(bin_dir)/$(TARGET).bin; \
|