From 09232a8eccd7d0f42ef0bc2fd19c60eeea71a690 Mon Sep 17 00:00:00 2001 From: tomo Date: Fri, 11 Dec 2009 04:33:27 +0000 Subject: [PATCH] (MKDIR): New variable. (datadir): New variable. (SCRIPTS_DIR): New variable. (install): Call `all' and `install-scripts'. (install-scripts): New target. (distclean): Delete `chise-setup-xfonts'. --- Makefile.in | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index e8d3f1e..2d78019 100644 --- a/Makefile.in +++ b/Makefile.in @@ -2,18 +2,26 @@ VERSION = @PACKAGE_VERSION@ TAR = tar WGET = wget +MKDIR = mkdir -p SUDO = prefix = @prefix@ exec_prefix = @exec_prefix@ + +datadir = @datadir@ + BINDIR = @bindir@ LIBDIR = @libdir@ +SCRIPTS_DIR = $(datadir)/scripts + OPTS = @ac_configure_args@ all: build-intlfonts build-bdf build-truetype build-gt -install: install-intlfonts install-bdf install-truetype install-gt +install: all \ + install-intlfonts install-bdf install-truetype install-gt \ + install-scripts build-intlfonts: intlfonts-1.2.1/config.log @@ -51,9 +59,14 @@ install-gt: cd GT && make install +install-scripts: + -$(MKDIR) $(SCRIPTS_DIR) + install -c chise-setup-xfonts $(SCRIPTS_DIR) + + distclean: cd BDF && make distclean cd TrueType && make distclean cd GT && make distclean - -$(RM) Makefile config.status config.log + -$(RM) Makefile config.status config.log chise-setup-xfonts -$(RM) -r autom4te.cache/ intlfonts-1.2.1/ intlfonts-1.2.1.tar.gz -- 1.7.10.4