Blame project/install.mk

fc8b64
# install.mk: rules for installation of raw, generated, and overlay files.
fc8b64
# this file is covered by COPYING.BAUTOMAKE.
fc8b64
fc8b64
AUTOMAKE_DEST_AC_DIR  = $(DESTDIR)$(DATADIR)/aclocal
fc8b64
AUTOMAKE_DEST_M4_DIR  = $(DESTDIR)$(DATADIR)/aclocal-$(AUTOMAKE_VER)
1697f4
AUTOMAKE_DEST_CFG_DIR = $(DESTDIR)$(DATADIR)/aclocal-$(AUTOMAKE_VER)/internal
fc8b64
AUTOMAKE_DEST_AM_DIR  = $(DESTDIR)$(DATADIR)/automake-$(AUTOMAKE_VER)/am
fc8b64
AUTOMAKE_DEST_PM_DIR  = $(DESTDIR)$(DATADIR)/automake-$(AUTOMAKE_VER)/Automake
fc8b64
AUTOMAKE_DEST_LIB_DIR = $(DESTDIR)$(DATADIR)/automake-$(AUTOMAKE_VER)
fc8b64
AUTOMAKE_DEST_MAN_DIR = $(DESTDIR)$(MANDIR)/man1
fc8b64
AUTOMAKE_DEST_BIN_DIR = $(DESTDIR)$(BINDIR)
fc8b64
113cc2
AUTOMAKE_ALT_SRC_FILES = \
113cc2
	$(PROJECT_DIR)/./src/config.sub  \
113cc2
	$(PROJECT_DIR)/./src/config.guess \
113cc2
	$(PROJECT_DIR)/./COPYING.BAUTOMAKE
113cc2
fc8b64
install-ac-files:
fc8b64
	mkdir -p $(AUTOMAKE_DEST_AC_DIR)
fc8b64
	cp -p $(SOURCE_DIR)/m4/acdir/README $(AUTOMAKE_DEST_AC_DIR)
fc8b64
fc8b64
install-m4-files:
fc8b64
	mkdir -p $(AUTOMAKE_DEST_M4_DIR)
fc8b64
	cp -p $(AUTOMAKE_M4_SOURCE_FILES) $(AUTOMAKE_DEST_M4_DIR)
fc8b64
fc8b64
install-am-files:
fc8b64
	mkdir -p $(AUTOMAKE_DEST_AM_DIR)
fc8b64
	cp -p $(AUTOMAKE_AM_SOURCE_FILES) $(AUTOMAKE_DEST_AM_DIR)
fc8b64
fc8b64
install-pm-files:
fc8b64
	mkdir -p $(AUTOMAKE_DEST_PM_DIR)
fc8b64
	cp -p $(AUTOMAKE_PM_SOURCE_FILES) $(AUTOMAKE_DEST_PM_DIR)
fc8b64
fc8b64
install-lib-files:
fc8b64
	mkdir -p $(AUTOMAKE_DEST_LIB_DIR)
113cc2
	cp -p $(AUTOMAKE_LIB_SOURCE_FILES) $(AUTOMAKE_ALT_SRC_FILES) $(AUTOMAKE_DEST_LIB_DIR)
fc8b64
fc8b64
install-man-files: $(MAN_GEN_SRCS)
fc8b64
	mkdir -p $(AUTOMAKE_DEST_MAN_DIR)
fc8b64
	cp -p $(MAN_GEN_SRCS) $(AUTOMAKE_DEST_MAN_DIR)
fc8b64
fc8b64
install-m4-gen-files: $(M4_GEN_SRCS)
fc8b64
	mkdir -p $(AUTOMAKE_DEST_M4_DIR)
fc8b64
	cp -p $(M4_GEN_SRCS) $(AUTOMAKE_DEST_M4_DIR)
fc8b64
fc8b64
install-pm-gen-files: $(LIB_GEN_SRCS)
fc8b64
	mkdir -p $(AUTOMAKE_DEST_PM_DIR)
fc8b64
	cp -p $(LIB_GEN_SRCS) $(AUTOMAKE_DEST_PM_DIR)
fc8b64
1697f4
install-cfg-files:
1697f4
	mkdir -p $(AUTOMAKE_DEST_CFG_DIR)
1697f4
	cp -p $(AUTOMAKE_CFG_SOURCE_FILES) $(AUTOMAKE_DEST_CFG_DIR)
1697f4
fc8b64
install-bin-files: $(BIN_GEN_SRCS)
fc8b64
	mkdir -p $(AUTOMAKE_DEST_BIN_DIR)
fc8b64
	cp -p $(BIN_GEN_SRCS) $(AUTOMAKE_DEST_BIN_DIR)
fc8b64
	ln -s aclocal-$(AUTOMAKE_VER) $(AUTOMAKE_DEST_BIN_DIR)/aclocal.tmp
fc8b64
	mv $(AUTOMAKE_DEST_BIN_DIR)/aclocal.tmp $(AUTOMAKE_DEST_BIN_DIR)/aclocal
fc8b64
	ln -s automake-$(AUTOMAKE_VER) $(AUTOMAKE_DEST_BIN_DIR)/automake.tmp
fc8b64
	mv $(AUTOMAKE_DEST_BIN_DIR)/automake.tmp $(AUTOMAKE_DEST_BIN_DIR)/automake
fc8b64
fc8b64
install: install-ac-files
fc8b64
install: install-m4-files
fc8b64
install: install-am-files
fc8b64
install: install-pm-files
fc8b64
1697f4
install: install-cfg-files
fc8b64
install: install-lib-files
fc8b64
install: install-man-files
fc8b64
install: install-bin-files
fc8b64
fc8b64
install: install-m4-gen-files
fc8b64
install: install-pm-gen-files