Some extra stuff for the automake changes

This commit is contained in:
paul 1998-11-18 16:33:57 +00:00
parent 8ad1744753
commit 5503abe8cc
2 changed files with 11 additions and 18 deletions

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile.in,v 1.18 1998/11/17 18:22:39 paul Exp $
# $Id: Makefile.in,v 1.19 1998/11/18 16:33:57 paul Exp $
#----------------------------------------------------------------------------#
# Things you can change to personalize the Makefile for your own site. Some #
@ -238,6 +238,7 @@ manuals-d: ignore
@cd doc && $(MAKE) distclean
manuals-i: ignore
@cd doc && $(MAKE) install
manuals-v: ignore
@set -e; for i in `echo $(MANUALS_V)`; do \
@ -250,19 +251,11 @@ manuals-v: ignore
# #
#----------------------------------------------------------------------------#
SCRIPTS_B = $(TOPDIR)/utils/vboxmail $(TOPDIR)/utils/vboxplay
SCRIPTS_D = $(SCRIPTS_B)
scripts-b: ignore
@set -e; for i in `echo $(SCRIPTS_B)`; do \
$(TOPDIR)/utils/mksed <$$i.in >$$i; \
done
@cd $(TOPDIR)/utils && $(MAKE)
scripts-d: ignore
@set -e; for i in `echo $(SCRIPTS_D)`; do \
$(RM) -f $$i; \
done
@cd $(TOPDIR)/utils && $(MAKE) distclean
scripts-i: ignore
@echo "Installing '$(DESTDIR)$(bindir)/vboxmail'..."

View File

@ -9,15 +9,15 @@ DISTCLEANFILES=vboxmail vboxplay
sed \
-e "s#\@MANDATE\@#${MANDATE}#g" \
-e "s#\@I4LVERSION\@#@VERSION@#g" \
-e "s#\@BINDIR\@#@bindir@#g" \
-e "s#\@SBINDIR\@#@sbindir@#g" \
-e "s#\@BINDIR\@#@CONFIG_BINDIR@#g" \
-e "s#\@SBINDIR\@#@CONFIG_SBINDIR@#g" \
-e "s#\@VERSION\@#@VERSION@#g" \
-e "s#\@VERDATE\@#@VERDATE@#g" \
-e "s#\@PACKAGE\@#@PACKAGE@#g" \
-e "s#\@SPOOLDIR\@#@SPOOLDIR@#g" \
-e "s#\@I4LCONFDIR\@#@I4LCONFDIR@#g" \
-e "s#\@LOGFILEDIR\@#@LOGFILEDIR@#g" \
-e "s#\@PIDFILEDIR\@#@RUNDIR@#g" \
-e "s#\@LCKFILEDIR\@#@LOCKDIR@#g" \
-e "s#\@SPOOLDIR\@#@VBOX_SPOOLDIR@#g" \
-e "s#\@I4LCONFDIR\@#@ISDN_GLOBAL_CONFIG@#g" \
-e "s#\@LOGFILEDIR\@#@VBOX_LOGDIR@#g" \
-e "s#\@PIDFILEDIR\@#@VBOX_PIDDIR@#g" \
-e "s#\@LCKFILEDIR\@#@VBOX_LCKDIR@#g" \
-e "s#\@MAILCMD\@#/usr/bin/mail#g" \
< $< > $@