From: tomo Date: Fri, 11 Dec 2009 04:33:27 +0000 (+0000) Subject: (MKDIR): New variable. X-Git-Tag: chise-fonts-installer-0_1~24 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=09232a8eccd7d0f42ef0bc2fd19c60eeea71a690;p=chise%2Fchise-fonts-installer.git (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'. --- 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