2006-11-11 10:53:14 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
# Copyright (C) 2005-2006 Axel Liljencrantz
|
2005-09-20 13:26:39 +00:00
|
|
|
#
|
2006-11-01 14:47:47 +00:00
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License version 2 as
|
|
|
|
# published by the Free Software Foundation.
|
2005-09-20 13:26:39 +00:00
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
#
|
|
|
|
|
2006-02-04 13:09:14 +00:00
|
|
|
#
|
|
|
|
# @configure_input@
|
|
|
|
#
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
#
|
|
|
|
# Makefile for the fish shell. Can build fish and associated
|
|
|
|
# applications, install them, recalculate dependencies and also create
|
2006-06-13 13:43:28 +00:00
|
|
|
# binary distributions in tar.bz2, tar.gz and rpm formats.
|
2005-09-20 13:26:39 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# The fish buildprocess is quite complex. Do not stare directly into
|
|
|
|
# the Makefile. Doing so may cause nausea, dizziness and
|
|
|
|
# hallucinations.
|
|
|
|
#
|
|
|
|
|
2010-11-22 11:05:06 +00:00
|
|
|
# Used by docdir
|
|
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-01-23 11:38:07 +00:00
|
|
|
# Programs
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2012-01-06 19:29:03 +00:00
|
|
|
CXX := @CXX@
|
2006-01-23 11:38:07 +00:00
|
|
|
INSTALL:=@INSTALL@
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-01-22 21:35:48 +00:00
|
|
|
# Installation directories
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
2010-11-22 11:05:06 +00:00
|
|
|
datarootdir = @datarootdir@
|
2006-01-04 12:51:02 +00:00
|
|
|
datadir = @datadir@
|
2005-09-20 13:26:39 +00:00
|
|
|
bindir = @bindir@
|
|
|
|
mandir = @mandir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
docdir = @docdir@
|
2006-07-19 14:41:04 +00:00
|
|
|
localedir = @localedir@
|
2010-09-18 02:18:26 +00:00
|
|
|
optbindirs = @optbindirs@
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Various flags
|
|
|
|
#
|
2006-07-19 14:41:04 +00:00
|
|
|
|
2010-09-18 02:18:26 +00:00
|
|
|
MACROS = -DLOCALEDIR=\"$(localedir)\" -DPREFIX=L\"$(prefix)\" -DDATADIR=L\"$(datadir)\" -DSYSCONFDIR=L\"$(sysconfdir)\"
|
2012-01-06 18:23:38 +00:00
|
|
|
CXXFLAGS = @CXXFLAGS@ $(MACROS) $(EXTRA_CXXFLAGS)
|
2010-09-18 02:18:26 +00:00
|
|
|
LDFLAGS = @LIBS@ @LDFLAGS@
|
2007-03-24 10:56:29 +00:00
|
|
|
LDFLAGS_FISH = ${LDFLAGS} @LIBS_FISH@ @LDFLAGS_FISH@
|
2007-04-22 10:03:12 +00:00
|
|
|
LDFLAGS_FISH_INDENT = ${LDFLAGS} @LIBS_FISH_INDENT@
|
2007-03-24 10:56:29 +00:00
|
|
|
LDFLAGS_FISH_PAGER = ${LDFLAGS} @LIBS_FISH_PAGER@
|
|
|
|
LDFLAGS_FISHD = ${LDFLAGS} @LIBS_FISHD@
|
|
|
|
LDFLAGS_MIMEDB = ${LDFLAGS} @LIBS_MIMEDB@
|
|
|
|
LDFLAGS_SET_COLOR = ${LDFLAGS} @LIBS_SET_COLOR@
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-01-22 21:35:48 +00:00
|
|
|
# Set to 1 if we have gettext
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-01-04 12:51:02 +00:00
|
|
|
HAVE_GETTEXT=@HAVE_GETTEXT@
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2012-01-06 18:23:38 +00:00
|
|
|
#Additional .cpp files used by common.o. These also have a corresponding
|
2006-06-13 13:43:28 +00:00
|
|
|
#.h file.
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2012-02-10 03:26:44 +00:00
|
|
|
COMMON_FILES := util.cpp fallback.cpp
|
2006-02-09 15:50:20 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2008-01-12 19:21:35 +00:00
|
|
|
# All objects that the system needs to build fish, except fish.o
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
FISH_OBJS := function.o builtin.o complete.o env.o exec.o expand.o \
|
|
|
|
highlight.o history.o kill.o parser.o proc.o reader.o sanity.o \
|
|
|
|
tokenizer.o wildcard.o wgetopt.o wutil.o input.o output.o intern.o \
|
|
|
|
env_universal.o env_universal_common.o input_common.o event.o \
|
2012-01-25 08:36:55 +00:00
|
|
|
signal.o io.o parse_util.o common.o screen.o path.o autoload.o \
|
2012-03-07 08:54:01 +00:00
|
|
|
parser_keywords.o iothread.o builtin_scripts.o color.o postfork.o \
|
|
|
|
builtin_test.o
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2007-04-22 10:03:12 +00:00
|
|
|
FISH_INDENT_OBJS := fish_indent.o print_help.o common.o \
|
|
|
|
parser_keywords.o wutil.o tokenizer.o
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-06-13 13:43:28 +00:00
|
|
|
# Additional files used by builtin.o
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2012-01-06 18:23:38 +00:00
|
|
|
BUILTIN_FILES := builtin_set.cpp builtin_commandline.cpp \
|
|
|
|
builtin_ulimit.cpp builtin_complete.cpp builtin_jobs.cpp
|
2006-01-22 21:35:48 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-01-22 21:35:48 +00:00
|
|
|
# All objects that the system needs to build fish_pager
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2007-09-26 09:29:57 +00:00
|
|
|
FISH_PAGER_OBJS := fish_pager.o output.o wutil.o \
|
2007-01-07 14:13:36 +00:00
|
|
|
input_common.o env_universal.o env_universal_common.o common.o \
|
2012-02-13 02:05:59 +00:00
|
|
|
print_help.o iothread.o color.o
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
2006-01-22 21:35:48 +00:00
|
|
|
# All objects that the system needs to build fish_tests
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-07-15 12:39:03 +00:00
|
|
|
FISH_TESTS_OBJS := $(FISH_OBJS) fish_tests.o
|
2006-01-22 21:35:48 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-01-22 21:35:48 +00:00
|
|
|
# All objects that the system needs to build fishd
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-11-17 16:24:38 +00:00
|
|
|
FISHD_OBJS := fishd.o env_universal_common.o wutil.o print_help.o \
|
|
|
|
common.o
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-01-22 21:35:48 +00:00
|
|
|
# All objects needed to build mimedb
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-11-17 16:24:38 +00:00
|
|
|
MIME_OBJS := mimedb.o print_help.o xdgmimealias.o xdgmime.o \
|
|
|
|
xdgmimeglob.o xdgmimeint.o xdgmimemagic.o xdgmimeparent.o wutil.o \
|
|
|
|
common.o
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
#
|
2006-11-20 01:06:20 +00:00
|
|
|
# Files containing user documentation
|
2005-09-20 13:26:39 +00:00
|
|
|
#
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2006-11-22 18:53:33 +00:00
|
|
|
#
|
|
|
|
# These files are the source files, they contain a few @FOO@-style substitutions
|
|
|
|
#
|
|
|
|
|
|
|
|
HDR_FILES_SRC := doc_src/index.hdr.in doc_src/commands.hdr.in doc_src/design.hdr doc_src/license.hdr doc_src/faq.hdr
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# These are the generated result files
|
|
|
|
#
|
|
|
|
|
|
|
|
HDR_FILES := $(subst .hdr.in,.hdr,$(HDR_FILES_SRC))
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2012-01-06 18:23:38 +00:00
|
|
|
#
|
|
|
|
# Internalized scripts
|
|
|
|
#
|
|
|
|
|
|
|
|
GENERATED_INTERN_SCRIPT_FILES := builtin_scripts.h builtin_scripts.cpp
|
|
|
|
|
|
|
|
# Use a pattern rule so that Make knows to only issue one invocation
|
|
|
|
# per http://www.gnu.org/software/make/manual/make.html#Pattern-Intro
|
2012-06-01 21:00:04 +00:00
|
|
|
|
|
|
|
# Internalized scripts are currently disabled.
|
|
|
|
# For now, we just generate empty arrays.
|
|
|
|
# To generate them again, you would run this:
|
|
|
|
# ./internalize_scripts.py share/functions/*.fish share/completions/*.fish
|
|
|
|
|
2012-01-06 18:23:38 +00:00
|
|
|
builtin%scripts.h builtin%scripts.cpp: internalize_scripts.py
|
2012-06-01 21:00:04 +00:00
|
|
|
./internalize_scripts.py
|
2012-01-06 18:23:38 +00:00
|
|
|
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
#
|
2010-09-18 02:18:26 +00:00
|
|
|
# Files containing documentation for external commands.
|
2005-09-20 13:26:39 +00:00
|
|
|
#
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2006-11-22 18:53:33 +00:00
|
|
|
HELP_SRC := $(wildcard doc_src/*.txt)
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2006-01-22 21:35:48 +00:00
|
|
|
#
|
|
|
|
# Files in the test directory
|
|
|
|
#
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
TEST_IN := $(wildcard tests/test*.in)
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
#
|
|
|
|
# Files that should be added to the tar archives
|
|
|
|
#
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
# Files in ./doc_src/
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-11-22 18:53:33 +00:00
|
|
|
DOC_SRC_DIR_FILES := $(HDR_FILES_SRC) $(HELP_SRC)
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-11-22 18:53:33 +00:00
|
|
|
# Files in ./
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-11-22 18:53:33 +00:00
|
|
|
MAIN_DIR_FILES_UNSORTED := Doxyfile Doxyfile.user Doxyfile.help.in \
|
|
|
|
Makefile.in configure configure.ac config.h.in install-sh \
|
2012-01-06 18:23:38 +00:00
|
|
|
set_color.cpp key_reader.cpp $(MIME_OBJS:.o=.h) \
|
|
|
|
$(MIME_OBJS:.o=.cpp) $(FISH_OBJS:.o=.h) $(BUILTIN_FILES) \
|
|
|
|
$(COMMON_FILES) $(COMMON_FILES:.cpp=.h) $(FISH_OBJS:.o=.cpp) \
|
2006-11-22 18:53:33 +00:00
|
|
|
fish.spec.in INSTALL README user_doc.head.html xsel-0.9.6.tar \
|
2012-01-06 18:23:38 +00:00
|
|
|
ChangeLog config.sub config.guess fish_tests.cpp fish.cpp fish_pager.cpp \
|
|
|
|
fishd.cpp seq.in make_vcs_completions.fish $(FISH_INDENT_OBJS:.o=.cpp)
|
2006-11-22 18:53:33 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The sorting is not meaningful in itself, but it has the side effect
|
|
|
|
# of removing duplicates, which means there will be fewer warnings
|
|
|
|
# during building.
|
|
|
|
#
|
|
|
|
|
|
|
|
MAIN_DIR_FILES := $(sort $(MAIN_DIR_FILES_UNSORTED))
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
# Files in ./tests/
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
TESTS_DIR_FILES := $(TEST_IN) $(TEST_IN:.in=.out) $(TEST_IN:.in=.err) \
|
|
|
|
$(TEST_IN:.in=.status) tests/test.fish tests/gen_output.fish
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-03-29 00:25:00 +00:00
|
|
|
# Files in ./share/completions/
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-02-17 10:13:39 +00:00
|
|
|
COMPLETIONS_DIR_FILES := $(wildcard share/completions/*.fish)
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-03-29 00:25:00 +00:00
|
|
|
# Files in ./share/functions/
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-02-17 10:13:39 +00:00
|
|
|
FUNCTIONS_DIR_FILES := $(wildcard share/functions/*.fish)
|
2006-02-08 09:20:05 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Programs to install
|
|
|
|
#
|
|
|
|
|
2007-04-23 22:00:26 +00:00
|
|
|
SIMPLE_PROGRAMS := fish set_color mimedb fish_pager fishd fish_indent
|
2010-09-18 05:27:34 +00:00
|
|
|
PROGRAMS := $(SIMPLE_PROGRAMS) @XSEL_BIN@ @SEQ_FALLBACK@
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-11-22 18:53:33 +00:00
|
|
|
# Manual pages to install
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-11-22 18:53:33 +00:00
|
|
|
MANUALS := $(addsuffix .1, $(addprefix share/man/, \
|
|
|
|
$(SIMPLE_PROGRAMS))) @XSEL_MAN_PATH@
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# All translation message catalogs
|
|
|
|
#
|
|
|
|
|
2006-01-04 12:51:02 +00:00
|
|
|
TRANSLATIONS_SRC := $(wildcard po/*.po)
|
|
|
|
TRANSLATIONS := $(TRANSLATIONS_SRC:.po=.gmo)
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2010-09-18 05:27:34 +00:00
|
|
|
#
|
|
|
|
# Extra util
|
|
|
|
#
|
|
|
|
|
|
|
|
XSEL := @XSEL@
|
|
|
|
XSEL_BIN := @XSEL_BIN@
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
# Make everything needed for installing fish
|
|
|
|
#
|
|
|
|
|
2012-07-08 22:20:39 +00:00
|
|
|
all: $(PROGRAMS) user_doc share/man $(TRANSLATIONS)
|
2010-09-18 02:18:26 +00:00
|
|
|
@echo fish has now been built.
|
2006-11-29 14:20:04 +00:00
|
|
|
@echo Use \'$(MAKE) install\' to install fish.
|
2006-01-23 20:40:14 +00:00
|
|
|
.PHONY: all
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# These dependencies make sure that autoconf and configure are run
|
|
|
|
# when the source code for the build configuration has changed.
|
|
|
|
#
|
|
|
|
|
2006-04-02 11:15:25 +00:00
|
|
|
configure: configure.ac
|
|
|
|
./config.status --recheck
|
|
|
|
|
|
|
|
Makefile: Makefile.in configure
|
|
|
|
./config.status
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Build fish with some debug flags specified. This is GCC specific,
|
|
|
|
# and should only be used when debuging fish.
|
|
|
|
#
|
2006-08-09 11:35:54 +00:00
|
|
|
|
2012-07-08 22:20:39 +00:00
|
|
|
prof: EXTRA_CXXFLAGS += -pg
|
|
|
|
prof: LDFLAGS += -pg
|
|
|
|
prof: all
|
2010-10-04 18:23:18 +00:00
|
|
|
.PHONY: prof
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
# User documentation, describing the features of the fish shell.
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2010-09-18 02:18:26 +00:00
|
|
|
# Depend on the sources (*.hdr.in) and manually make the
|
2007-03-24 11:08:01 +00:00
|
|
|
# intermediate *.hdr and doc.h files if needed
|
2012-02-21 00:18:10 +00:00
|
|
|
# Allow doxygen to fail, e.g. if it does not exist
|
2006-11-17 16:24:38 +00:00
|
|
|
|
2012-07-08 22:20:39 +00:00
|
|
|
user_doc: $(HDR_FILES_SRC) Doxyfile.user user_doc.head.html $(HELP_SRC) doc.h $(HDR_FILES)
|
2012-06-17 16:29:11 +00:00
|
|
|
- doxygen Doxyfile.user && touch user_doc
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-01-23 20:40:14 +00:00
|
|
|
# Source code documentation. Also includes user documentation.
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2012-01-06 18:23:38 +00:00
|
|
|
doc: *.h *.cpp doc.h Doxyfile
|
2010-09-18 02:18:26 +00:00
|
|
|
doxygen;
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
# PDF version of the source code documentation.
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2010-09-18 02:18:26 +00:00
|
|
|
doc/refman.pdf: doc
|
|
|
|
cd doc/latex;
|
|
|
|
make;
|
|
|
|
mv refman.pdf ..;
|
|
|
|
cd ../..;
|
2005-09-20 13:26:39 +00:00
|
|
|
rm -r doc/latex;
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# This target runs both the low level code tests and the high level script tests.
|
|
|
|
#
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
test: $(PROGRAMS) fish_tests
|
|
|
|
./fish_tests; cd tests; ../fish <test.fish;
|
2006-01-23 20:40:14 +00:00
|
|
|
.PHONY: test
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Build the xsel program, which is maintained in its own tarball
|
|
|
|
#
|
|
|
|
|
2010-09-18 13:29:05 +00:00
|
|
|
$(XSEL_BIN):
|
|
|
|
$(MAKE) -C $(XSEL) || echo "Failed to build xsel - either add the required dependencies or use './configure --without-xsel' to disable it."
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2006-10-31 15:36:14 +00:00
|
|
|
#
|
|
|
|
# commands.hdr collects documentation on all commands, functions and
|
|
|
|
# builtins
|
|
|
|
#
|
|
|
|
|
2006-11-22 18:53:33 +00:00
|
|
|
doc_src/commands.hdr:$(HELP_SRC) doc_src/commands.hdr.in
|
|
|
|
-rm command_list.tmp $@
|
|
|
|
for i in `printf "%s\n" $(HELP_SRC)|sort`; do \
|
|
|
|
echo "<hr>" >>command_list.tmp; \
|
|
|
|
cat $$i >>command_list.tmp; \
|
|
|
|
echo >>command_list.tmp; \
|
|
|
|
echo >>command_list.tmp; \
|
|
|
|
echo "Back to <a href='index.html#toc-commands'>index</a>". >>command_list.tmp; \
|
2010-09-18 02:18:26 +00:00
|
|
|
done
|
2006-11-22 18:53:33 +00:00
|
|
|
mv command_list.tmp command_list.txt
|
|
|
|
cat $@.in | awk '{if ($$0 ~ /@command_list@/){ system("cat command_list.txt");} else{ print $$0;}}' >$@
|
|
|
|
|
|
|
|
|
|
|
|
toc.txt: $(subst index.hdr,index.hdr.in,$(HDR_FILES))
|
|
|
|
-rm toc.tmp $@
|
|
|
|
for i in $(subst index.hdr,index.hdr.in,$(HDR_FILES)); do\
|
|
|
|
NAME=`basename $$i .hdr`; \
|
|
|
|
NAME=`basename $$NAME .hdr.in`; \
|
|
|
|
sed <$$i >>toc.tmp -n \
|
|
|
|
-e 's,.*\\page *\([^ ]*\) *\(.*\)$$,- <a href="'$$NAME'.html" name="toc-'$$NAME'">\2</a>,p' \
|
|
|
|
-e 's,.*\\section *\([^ ]*\) *\(.*\)$$, - <a href="'$$NAME'.html#\1" name="toc-'$$NAME'">\2</a>,p'; \
|
|
|
|
done
|
|
|
|
mv toc.tmp $@
|
|
|
|
|
|
|
|
doc_src/index.hdr: toc.txt doc_src/index.hdr.in
|
|
|
|
cat $@.in | awk '{if ($$0 ~ /@toc@/){ system("cat toc.txt");} else{ print $$0;}}' >$@
|
2006-10-31 15:36:14 +00:00
|
|
|
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
# doc.h is a compilation of the various snipptes of text used both for
|
|
|
|
# the user documentation and for internal help functions into a single
|
|
|
|
# file that can be parsed dy Doxygen to generate the user
|
|
|
|
# documentation.
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-11-22 18:53:33 +00:00
|
|
|
doc.h: $(HDR_FILES)
|
|
|
|
cat $(HDR_FILES) >$@
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
# This rule creates complete doxygen headers from each of the various
|
|
|
|
# snipptes of text used both for the user documentation and for
|
|
|
|
# internal help functions, that can be parsed to Doxygen to generate
|
|
|
|
# the internal help function text.
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
%.doxygen:%.txt
|
2010-09-18 02:18:26 +00:00
|
|
|
echo "/** \page " `basename $*` >$@;
|
|
|
|
cat $*.txt >>$@;
|
2005-09-20 13:26:39 +00:00
|
|
|
echo "*/" >>$@
|
|
|
|
|
2010-09-18 02:18:26 +00:00
|
|
|
%: %.in
|
2006-11-11 10:53:14 +00:00
|
|
|
sed <$@.in >$@ \
|
|
|
|
-e "s,@sysconfdir\@,$(sysconfdir),g" \
|
|
|
|
-e "s,@datadir\@,$(datadir),g" \
|
|
|
|
-e "s,@docdir\@,$(docdir),g" \
|
|
|
|
-e "s|@configure_input\@|$@, generated from $@.in by the Makefile. DO NOT MANUALLY EDIT THIS FILE!|g" \
|
|
|
|
-e "s,@prefix\@,$(prefix),g" \
|
2010-09-18 02:18:26 +00:00
|
|
|
-e "s,@optbindirs\@,$(optbindirs),g"
|
|
|
|
#-e "s,@\@,$(),"
|
2006-07-18 16:41:55 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Compile translation files to binary format
|
|
|
|
#
|
|
|
|
|
2006-01-23 17:47:42 +00:00
|
|
|
%.gmo:
|
2007-08-01 17:38:01 +00:00
|
|
|
if test "$(HAVE_GETTEXT)" = 1; then \
|
2006-07-28 13:07:15 +00:00
|
|
|
msgfmt -o $*.gmo $*.po; \
|
2006-01-04 12:51:02 +00:00
|
|
|
fi
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-01-04 12:51:02 +00:00
|
|
|
# Update existing po file or copy messages.pot
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-01-23 17:47:42 +00:00
|
|
|
%.po:messages.pot
|
2006-01-04 12:51:02 +00:00
|
|
|
if test $(HAVE_GETTEXT) = 1;then \
|
|
|
|
if test -f $*.po; then \
|
2006-01-18 16:59:17 +00:00
|
|
|
msgmerge -U --backup=existing $*.po messages.pot;\
|
2006-01-04 12:51:02 +00:00
|
|
|
else \
|
|
|
|
cp messages.pot $*.po;\
|
|
|
|
fi; \
|
|
|
|
fi
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-01-04 12:51:02 +00:00
|
|
|
# Create a template translation object
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2012-07-08 22:20:39 +00:00
|
|
|
messages.pot: *.cpp *.h share/completions/*.fish share/functions/*.fish seq
|
2006-01-04 12:51:02 +00:00
|
|
|
if test $(HAVE_GETTEXT) = 1;then \
|
2012-01-06 18:23:38 +00:00
|
|
|
xgettext -k_ -kN_ *.cpp *.h -o messages.pot; \
|
2012-07-08 22:20:39 +00:00
|
|
|
if xgettext -j -k_ -kN_ -k--description -LShell share/completions/*.fish share/functions/*.fish seq -o messages.pot; then true; else \
|
2006-01-18 16:59:17 +00:00
|
|
|
echo "Your xgettext version is too old to build the messages.pot file"\
|
2006-01-23 11:38:07 +00:00
|
|
|
rm messages.pot\
|
2006-01-18 16:59:17 +00:00
|
|
|
false;\
|
|
|
|
fi; \
|
2006-01-04 12:51:02 +00:00
|
|
|
fi
|
|
|
|
|
2006-06-13 13:43:28 +00:00
|
|
|
builtin.o: $(BUILTIN_FILES)
|
|
|
|
|
|
|
|
common.o: $(COMMON_FILES)
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
# Generate the internal help functions by making doxygen create
|
2006-11-17 16:24:38 +00:00
|
|
|
# man-pages. The convertion path looks like this:
|
2005-09-20 13:26:39 +00:00
|
|
|
#
|
|
|
|
# .txt file
|
|
|
|
# ||
|
|
|
|
# (make)
|
|
|
|
# ||
|
|
|
|
# \/
|
|
|
|
# .doxygen file
|
|
|
|
# ||
|
|
|
|
# (doxygen)
|
|
|
|
# ||
|
|
|
|
# \/
|
2006-11-17 16:24:38 +00:00
|
|
|
# roff file
|
2005-09-20 13:26:39 +00:00
|
|
|
# ||
|
2006-11-17 16:24:38 +00:00
|
|
|
# (__fish_print_help)
|
2005-09-20 13:26:39 +00:00
|
|
|
# ||
|
|
|
|
# \/
|
2010-09-18 02:18:26 +00:00
|
|
|
# formated text
|
|
|
|
# with escape
|
2005-09-20 13:26:39 +00:00
|
|
|
# sequences
|
|
|
|
#
|
2006-11-17 16:24:38 +00:00
|
|
|
#
|
|
|
|
# There ought to be something simpler.
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-11-22 18:53:33 +00:00
|
|
|
share/man: $(HELP_SRC)
|
|
|
|
-rm doc_src/*.doxygen # Remove temp files from previous run
|
|
|
|
-rm -r help_doc
|
|
|
|
-mkdir share/man
|
|
|
|
touch share/man
|
|
|
|
for i in $(HELP_SRC); do \
|
2006-06-13 13:43:28 +00:00
|
|
|
FILE=doc_src/`basename $$i .txt`.doxygen; \
|
|
|
|
echo "/** \page" `basename $$i .txt` >$$FILE; \
|
|
|
|
cat $$i >>$$FILE; \
|
|
|
|
echo "*/" >>$$FILE; \
|
|
|
|
done
|
2012-05-30 03:50:27 +00:00
|
|
|
if command -v doxygen; then \
|
|
|
|
doxygen Doxyfile.help ; \
|
|
|
|
for i in $(HELP_SRC); do \
|
|
|
|
CMD_NAME=`basename $$i .txt`; \
|
|
|
|
sed -e "s/\(.\)\\.SH/\1/" -e "s/$$CMD_NAME *\\\\- *\"\(.*\)\"/\1/" <help_doc/man/man1/$$CMD_NAME.1 >share/man/$$CMD_NAME.1; \
|
|
|
|
done \
|
|
|
|
fi
|
2006-11-22 18:53:33 +00:00
|
|
|
rm doc_src/*.doxygen # Clean up intermediate files in doc_src/
|
2012-05-30 03:50:27 +00:00
|
|
|
rm -rf help_doc # Clean up intermediate help_doc tree
|
2006-06-13 13:43:28 +00:00
|
|
|
|
2006-01-23 20:40:14 +00:00
|
|
|
#
|
2006-02-23 15:35:56 +00:00
|
|
|
# The build rules for installing/uninstalling fish
|
|
|
|
#
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
2006-02-23 15:35:56 +00:00
|
|
|
# Check for an incompatible installed fish version, and fail with an
|
|
|
|
# error if found
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
2006-02-23 15:35:56 +00:00
|
|
|
|
|
|
|
check-uninstall:
|
|
|
|
if test -f $(DESTDIR)$(sysconfdir)/fish.d/fish_function.fish -o -f $(DESTDIR)$(sysconfdir)/fish.d/fish_complete.fish; then \
|
|
|
|
echo;\
|
|
|
|
echo ERROR;\
|
|
|
|
echo;\
|
|
|
|
echo An older fish installation using an incompatible filesystem hierarchy was detected;\
|
2006-10-25 16:35:32 +00:00
|
|
|
echo You must uninstall this fish version before proceeding;\
|
2006-11-29 14:20:04 +00:00
|
|
|
echo type \'$(MAKE) uninstall-legacy\' to uninstall these files,;\
|
|
|
|
echo or type \'$(MAKE) force-install\' to force installation.;\
|
2006-02-23 15:35:56 +00:00
|
|
|
echo The latter may result in a broken installation.;\
|
|
|
|
echo;\
|
|
|
|
false;\
|
|
|
|
fi;
|
2006-10-25 16:35:32 +00:00
|
|
|
if test -f $(DESTDIR)$(sysconfdir)/fish; then \
|
|
|
|
echo;\
|
|
|
|
echo ERROR;\
|
|
|
|
echo;\
|
|
|
|
echo An older fish installation using an incompatible filesystem hierarchy was detected;\
|
|
|
|
echo You must remove the file $(DESTDIR)$(sysconfdir)/fish before proceeding;\
|
2006-11-29 14:20:04 +00:00
|
|
|
echo type \'$(MAKE) uninstall-legacy\' to uninstall this file,;\
|
2006-10-25 16:35:32 +00:00
|
|
|
echo or remove it manually using \'rm $(DESTDIR)$(sysconfdir)/fish\'.;\
|
|
|
|
echo;\
|
|
|
|
false;\
|
|
|
|
fi;
|
2006-02-23 15:35:56 +00:00
|
|
|
.PHONY: check-uninstall
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# This check makes sure that the install-sh script is executable. The
|
|
|
|
# darcs repo doesn't preserve the executable bit, so this needs to be
|
|
|
|
# run after checkout.
|
|
|
|
#
|
|
|
|
|
2006-07-30 21:05:06 +00:00
|
|
|
install-sh:
|
2007-02-08 17:26:58 +00:00
|
|
|
if test -x $@; then true; else chmod 755 $@; fi
|
2006-07-30 21:05:06 +00:00
|
|
|
.PHONY: install-sh
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Try to install after checking for incompatible installed versions.
|
|
|
|
#
|
|
|
|
|
2006-07-30 21:05:06 +00:00
|
|
|
install: all install-sh check-uninstall install-force
|
2006-02-23 15:35:56 +00:00
|
|
|
.PHONY: install
|
2006-01-23 20:40:14 +00:00
|
|
|
|
2012-12-02 04:05:35 +00:00
|
|
|
#
|
|
|
|
# Xcode install
|
|
|
|
#
|
|
|
|
xcode-install:
|
|
|
|
rm -Rf /tmp/fish_build;\
|
|
|
|
xcodebuild install DSTROOT=/tmp/fish_build;\
|
|
|
|
ditto /tmp/fish_build /
|
|
|
|
.PHONY: xcode-install
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2006-02-23 15:35:56 +00:00
|
|
|
# Force installation, even in presense of incompatible previous
|
2006-10-31 02:06:56 +00:00
|
|
|
# version. This may fail.
|
2012-02-10 00:36:35 +00:00
|
|
|
# These 'true' lines are to prevent installs from failing for (e.g.) missing man pages.
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-02-23 15:35:56 +00:00
|
|
|
install-force: all install-translations
|
2010-09-18 02:18:26 +00:00
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
|
2005-09-20 13:26:39 +00:00
|
|
|
for i in $(PROGRAMS); do\
|
|
|
|
$(INSTALL) -m 755 $$i $(DESTDIR)$(bindir) ; \
|
2012-02-10 00:36:35 +00:00
|
|
|
true ;\
|
2005-09-20 13:26:39 +00:00
|
|
|
done;
|
2006-10-19 11:50:23 +00:00
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(sysconfdir)/fish
|
2006-02-17 10:13:39 +00:00
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish
|
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish/completions
|
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish/functions
|
2012-06-12 07:22:45 +00:00
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish/man/man1
|
2012-03-26 01:38:33 +00:00
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish/tools
|
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish/tools/web_config
|
2012-09-06 08:40:15 +00:00
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish/tools/web_config/sample_prompts
|
2006-10-19 11:50:23 +00:00
|
|
|
$(INSTALL) -m 644 etc/config.fish $(DESTDIR)$(sysconfdir)/fish/
|
|
|
|
$(INSTALL) -m 644 share/config.fish $(DESTDIR)$(datadir)/fish/
|
2012-11-21 21:42:30 +00:00
|
|
|
for i in $(COMPLETIONS_DIR_FILES:%='%'); do \
|
2006-02-17 10:13:39 +00:00
|
|
|
$(INSTALL) -m 644 $$i $(DESTDIR)$(datadir)/fish/completions/; \
|
2012-02-10 00:36:35 +00:00
|
|
|
true; \
|
2005-09-20 13:26:39 +00:00
|
|
|
done;
|
2012-11-21 21:42:30 +00:00
|
|
|
for i in $(FUNCTIONS_DIR_FILES:%='%'); do \
|
2006-02-17 10:13:39 +00:00
|
|
|
$(INSTALL) -m 644 $$i $(DESTDIR)$(datadir)/fish/functions/; \
|
2012-02-10 00:36:35 +00:00
|
|
|
true; \
|
2006-02-08 09:20:05 +00:00
|
|
|
done;
|
2006-11-17 16:24:38 +00:00
|
|
|
for i in share/man/*.1; do \
|
2012-06-12 07:22:45 +00:00
|
|
|
$(INSTALL) -m 644 $$i $(DESTDIR)$(datadir)/fish/man/man1/; \
|
2012-02-10 00:36:35 +00:00
|
|
|
true; \
|
2006-11-17 16:24:38 +00:00
|
|
|
done;
|
2012-03-26 01:38:33 +00:00
|
|
|
for i in share/tools/*.py; do\
|
|
|
|
$(INSTALL) -m 755 $$i $(DESTDIR)$(datadir)/fish/tools/; \
|
|
|
|
true; \
|
|
|
|
done;
|
|
|
|
for i in share/tools/web_config/*; do\
|
|
|
|
$(INSTALL) -m 644 $$i $(DESTDIR)$(datadir)/fish/tools/web_config/; \
|
|
|
|
true; \
|
|
|
|
done;
|
2012-09-06 08:40:15 +00:00
|
|
|
for i in share/tools/web_config/sample_prompts/*.fish; do\
|
|
|
|
$(INSTALL) -m 644 $$i $(DESTDIR)$(datadir)/fish/tools/web_config/sample_prompts/; \
|
|
|
|
true; \
|
|
|
|
done;
|
2012-03-26 01:38:33 +00:00
|
|
|
for i in share/tools/web_config/*.py; do\
|
|
|
|
$(INSTALL) -m 755 $$i $(DESTDIR)$(datadir)/fish/tools/web_config/; \
|
|
|
|
true; \
|
|
|
|
done;
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(docdir)
|
|
|
|
for i in user_doc/html/* ChangeLog; do \
|
2005-12-09 02:49:23 +00:00
|
|
|
if test -f $$i; then \
|
|
|
|
$(INSTALL) -m 644 $$i $(DESTDIR)$(docdir); \
|
|
|
|
fi; \
|
2005-09-20 13:26:39 +00:00
|
|
|
done;
|
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1
|
|
|
|
for i in $(MANUALS); do \
|
|
|
|
$(INSTALL) -m 644 $$i $(DESTDIR)$(mandir)/man1/; \
|
2012-02-10 00:36:35 +00:00
|
|
|
true; \
|
2005-09-20 13:26:39 +00:00
|
|
|
done;
|
2010-09-18 02:18:26 +00:00
|
|
|
@echo fish is now installed on your system.
|
2006-01-18 13:11:43 +00:00
|
|
|
@echo To run fish, type \'fish\' in your terminal.
|
|
|
|
@echo
|
|
|
|
@echo To use fish as your login shell:
|
|
|
|
@echo \* add the line \'$(DESTDIR)$(bindir)/fish\' to the file \'/etc/shells\'.
|
|
|
|
@echo \* use the command \'chsh -s $(DESTDIR)$(bindir)/fish\'.
|
|
|
|
@echo
|
2012-05-18 02:37:03 +00:00
|
|
|
@echo To set your colors, run \'fish_config\'
|
|
|
|
@echo To scan your man pages for completions, run \'fish_update_completions\'
|
2012-09-19 07:51:49 +00:00
|
|
|
@echo To autocomplete command suggestions press Ctrl + F or right arrow key.
|
2012-05-18 02:37:03 +00:00
|
|
|
@echo
|
2006-01-18 13:11:43 +00:00
|
|
|
@echo Have fun!
|
2006-04-20 15:00:28 +00:00
|
|
|
.PHONY: install-force
|
2006-02-23 15:35:56 +00:00
|
|
|
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
2006-02-23 15:35:56 +00:00
|
|
|
# Uninstall this fish version
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-01-04 12:51:02 +00:00
|
|
|
uninstall: uninstall-translations
|
2006-10-25 16:35:32 +00:00
|
|
|
-for i in $(PROGRAMS); do \
|
2005-09-20 13:26:39 +00:00
|
|
|
rm -f $(DESTDIR)$(bindir)/$$i; \
|
|
|
|
done;
|
2006-10-25 16:35:32 +00:00
|
|
|
-rm -f $(DESTDIR)$(bindir)/xsel
|
2012-07-08 22:20:39 +00:00
|
|
|
-rm -rf $(DESTDIR)$(sysconfdir)/fish
|
2006-10-25 16:35:32 +00:00
|
|
|
-if test -d $(DESTDIR)$(datadir)/fish; then \
|
2006-02-23 15:35:56 +00:00
|
|
|
rm -r $(DESTDIR)$(datadir)/fish; \
|
|
|
|
fi
|
2006-10-25 16:35:32 +00:00
|
|
|
-if test -d $(DESTDIR)$(docdir); then \
|
2012-07-08 22:20:39 +00:00
|
|
|
rm -rf $(DESTDIR)$(docdir);\
|
2006-02-23 15:35:56 +00:00
|
|
|
fi
|
2006-10-25 16:35:32 +00:00
|
|
|
-for i in $(MANUALS); do \
|
2012-07-08 22:20:39 +00:00
|
|
|
rm -rf $(DESTDIR)$(mandir)/man1/`basename $$i`*; \
|
2005-09-20 13:26:39 +00:00
|
|
|
done;
|
2006-01-23 20:40:14 +00:00
|
|
|
.PHONY: uninstall
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Uninstall an older fish release. This is not the default uninstall
|
2006-02-23 15:35:56 +00:00
|
|
|
# since there is a slight chance that it removes a file put in place by
|
2006-10-31 02:06:56 +00:00
|
|
|
# the sysadmin. But if 'make install' detects a file confligt, it
|
|
|
|
# suggests using this target.
|
|
|
|
#
|
2006-02-23 15:35:56 +00:00
|
|
|
|
|
|
|
uninstall-legacy: uninstall
|
2006-10-25 16:35:32 +00:00
|
|
|
-rm -f $(DESTDIR)$(sysconfdir)/fish.d/fish_interactive.fish
|
|
|
|
-rm -f $(DESTDIR)$(sysconfdir)/fish.d/fish_complete.fish
|
|
|
|
-rm -f $(DESTDIR)$(sysconfdir)/fish.d/fish_function.fish
|
2007-10-14 11:52:59 +00:00
|
|
|
-rm -f $(DESTDIR)$(sysconfdir)/fish/fish_inputrc
|
2006-10-25 16:35:32 +00:00
|
|
|
-if test -d $(DESTDIR)$(sysconfdir)/fish.d/completions; then \
|
2006-02-23 15:35:56 +00:00
|
|
|
for i in $(COMPLETIONS_DIR_FILES); do \
|
|
|
|
basename=`basename $$i`; \
|
|
|
|
if test -f $(DESTDIR)$(sysconfdir)/fish.d/completions/$$basename; then \
|
|
|
|
rm $(DESTDIR)$(sysconfdir)/fish.d/completions/$$basename; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
|
|
|
fi;
|
2006-10-25 16:35:32 +00:00
|
|
|
-rmdir $(DESTDIR)$(sysconfdir)/fish.d/completions
|
|
|
|
-rmdir $(DESTDIR)$(sysconfdir)/fish.d
|
|
|
|
-rm $(DESTDIR)$(sysconfdir)/fish
|
2010-09-18 02:18:26 +00:00
|
|
|
@echo The previous fish installation has been removed.
|
2006-04-20 15:00:28 +00:00
|
|
|
.PHONY: uninstall-legacy
|
2006-02-23 15:35:56 +00:00
|
|
|
|
2006-01-04 13:52:30 +00:00
|
|
|
install-translations: $(TRANSLATIONS)
|
2006-01-04 12:51:02 +00:00
|
|
|
if test $(HAVE_GETTEXT) = 1; then \
|
|
|
|
for i in $(TRANSLATIONS); do \
|
2006-01-21 16:01:17 +00:00
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/locale/`basename $$i .gmo`/LC_MESSAGES; \
|
|
|
|
$(INSTALL) -m 644 $$i $(DESTDIR)$(datadir)/locale/`basename $$i .gmo`/LC_MESSAGES/fish.mo; \
|
|
|
|
echo $(DESTDIR)$(datadir)/locale/`basename $$i .gmo`/LC_MESSAGES/fish.mo;\
|
2006-01-04 12:51:02 +00:00
|
|
|
done; \
|
2006-02-23 15:35:56 +00:00
|
|
|
fi;
|
2006-01-23 20:40:14 +00:00
|
|
|
.PHONY: install-translations
|
2006-01-04 12:51:02 +00:00
|
|
|
|
2010-09-18 02:18:26 +00:00
|
|
|
uninstall-translations:
|
2006-01-04 12:51:02 +00:00
|
|
|
if test $(HAVE_GETTEXT) = 1; then \
|
|
|
|
for i in $(TRANSLATIONS_SRC); do \
|
2006-02-23 15:35:56 +00:00
|
|
|
rm -f $(DESTDIR)$(datadir)/locale/*/LC_MESSAGES/fish.mo; \
|
2006-01-04 12:51:02 +00:00
|
|
|
done; \
|
|
|
|
fi
|
2006-01-23 20:40:14 +00:00
|
|
|
.PHONY: uninstall-translations
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2006-01-23 20:40:14 +00:00
|
|
|
#
|
|
|
|
# The build rules for all the commands
|
|
|
|
#
|
2006-01-04 12:51:02 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
# Build the fish program.
|
|
|
|
#
|
|
|
|
|
2010-09-18 02:18:26 +00:00
|
|
|
fish: $(FISH_OBJS) fish.o
|
2012-01-06 19:29:03 +00:00
|
|
|
$(CXX) $(FISH_OBJS) fish.o $(LDFLAGS_FISH) -o $@
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Build the fish_pager program.
|
|
|
|
#
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
fish_pager: $(FISH_PAGER_OBJS)
|
2012-01-06 19:29:03 +00:00
|
|
|
$(CXX) $(FISH_PAGER_OBJS) $(LDFLAGS_FISH_PAGER) -o $@
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Build the fishd program.
|
|
|
|
#
|
|
|
|
|
2010-09-18 02:18:26 +00:00
|
|
|
fishd: $(FISHD_OBJS)
|
2012-01-06 19:29:03 +00:00
|
|
|
$(CXX) $(FISHD_OBJS) $(LDFLAGS_FISHD) -o $@
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Build the fish_tests program.
|
|
|
|
#
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
fish_tests: $(FISH_TESTS_OBJS)
|
2012-01-06 19:29:03 +00:00
|
|
|
$(CXX) $(FISH_TESTS_OBJS) $(LDFLAGS_FISH) -o $@
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Build the mimedb program.
|
|
|
|
#
|
|
|
|
# mimedb does not need any libraries, so we don't use LDFLAGS here.
|
|
|
|
#
|
|
|
|
|
2006-11-17 16:24:38 +00:00
|
|
|
mimedb: $(MIME_OBJS)
|
2012-01-06 19:29:03 +00:00
|
|
|
$(CXX) $(MIME_OBJS) $(LDFLAGS_MIMEDB) -o $@
|
2006-06-15 13:52:00 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Build the set_color program
|
|
|
|
#
|
|
|
|
|
2012-05-30 07:22:45 +00:00
|
|
|
set_color: set_color.o print_help.o common.o color.o wutil.o
|
2012-03-13 21:22:53 +00:00
|
|
|
$(CXX) set_color.o print_help.o common.o wutil.o color.o $(LDFLAGS_SET_COLOR) -o $@
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
# Test program for the tokenizer library
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2012-01-06 18:23:38 +00:00
|
|
|
tokenizer_test: tokenizer.cpp tokenizer.h wutil.o common.o
|
2012-01-06 19:29:03 +00:00
|
|
|
$(CXX) $(CXXFLAGS) tokenizer.cpp wutil.o common.o -D TOKENIZER_TEST $(LDFLAGS) -o $@
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2007-04-22 10:03:12 +00:00
|
|
|
#
|
|
|
|
# Build the fish_indent program.
|
|
|
|
#
|
|
|
|
|
|
|
|
fish_indent: $(FISH_INDENT_OBJS)
|
2012-01-06 19:29:03 +00:00
|
|
|
$(CXX) $(FISH_INDENT_OBJS) $(LDFLAGS_FISH_INDENT) -o $@
|
2007-04-22 10:03:12 +00:00
|
|
|
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
2006-01-23 20:40:14 +00:00
|
|
|
# Neat little program to show output from terminal
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2012-05-09 10:30:09 +00:00
|
|
|
key_reader: key_reader.o input_common.o common.o env_universal.o env_universal_common.o wutil.o iothread.o
|
|
|
|
$(CXX) key_reader.o input_common.o common.o env_universal.o env_universal_common.o wutil.o iothread.o $(LDFLAGS_FISH) -o $@
|
2005-09-22 20:16:52 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
|
2006-01-23 20:40:14 +00:00
|
|
|
#
|
|
|
|
# Update dependencies
|
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
depend:
|
2012-01-06 18:23:38 +00:00
|
|
|
makedepend -fMakefile.in -Y *.cpp
|
2006-04-02 11:15:25 +00:00
|
|
|
./config.status
|
2006-01-23 20:40:14 +00:00
|
|
|
.PHONY: depend
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2012-01-30 06:29:13 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Dependencies that makedepend misses
|
|
|
|
#
|
|
|
|
autoload.cpp function.cpp: $(GENERATED_INTERN_SCRIPT_FILES)
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
# Make compressed tar archives
|
|
|
|
#
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
fish-@PACKAGE_VERSION@.tar.gz: fish-@PACKAGE_VERSION@.tar
|
|
|
|
gzip -f --best -c fish-@PACKAGE_VERSION@.tar >fish-@PACKAGE_VERSION@.tar.gz
|
|
|
|
|
|
|
|
fish-@PACKAGE_VERSION@.tar.bz2: fish-@PACKAGE_VERSION@.tar
|
|
|
|
bzip2 -f --best -k fish-@PACKAGE_VERSION@.tar
|
|
|
|
|
2006-04-02 11:16:22 +00:00
|
|
|
dist: fish-@PACKAGE_VERSION@.tar.bz2
|
|
|
|
.PHONY: dist
|
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
2010-09-18 02:18:26 +00:00
|
|
|
# Build the RPM spec file.
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
fish.spec: fish.spec.in
|
|
|
|
./config.status
|
|
|
|
|
|
|
|
|
2007-01-27 02:04:06 +00:00
|
|
|
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
# Create .rpm file for the current systems architecture and an
|
|
|
|
# .src.rpm file.
|
2006-10-31 02:06:56 +00:00
|
|
|
#
|
|
|
|
|
2006-08-09 11:35:54 +00:00
|
|
|
rpm: fish-@PACKAGE_VERSION@.tar.bz2 fish.spec
|
2006-08-10 19:49:51 +00:00
|
|
|
@if which rpmbuild; then true; else \
|
2006-03-26 17:52:37 +00:00
|
|
|
echo Could not find the rpmbuild command, needed to build an rpm; \
|
|
|
|
echo You may be able to install it using the following command:; \
|
|
|
|
echo \'yum install rpm-build\'; \
|
|
|
|
false; \
|
|
|
|
fi
|
2005-09-20 13:26:39 +00:00
|
|
|
cp fish.spec /usr/src/redhat/SPECS/
|
|
|
|
cp fish-@PACKAGE_VERSION@.tar.bz2 /usr/src/redhat/SOURCES/
|
|
|
|
rpmbuild -ba --clean /usr/src/redhat/SPECS/fish.spec
|
|
|
|
mv /usr/src/redhat/RPMS/*/fish*@PACKAGE_VERSION@*.rpm .
|
|
|
|
mv /usr/src/redhat/SRPMS/fish*@PACKAGE_VERSION@*.src.rpm .
|
2006-01-23 20:40:14 +00:00
|
|
|
.PHONY: rpm
|
|
|
|
|
2006-10-31 15:36:14 +00:00
|
|
|
|
2006-01-23 20:40:14 +00:00
|
|
|
#
|
|
|
|
# Cleanup targets
|
|
|
|
#
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 15:36:14 +00:00
|
|
|
#
|
|
|
|
# distclean should restore the tree to the state right after extracting a tarball.
|
|
|
|
#
|
|
|
|
|
2005-11-03 17:03:48 +00:00
|
|
|
distclean: clean
|
2010-09-18 02:18:26 +00:00
|
|
|
rm -f fish.spec Doxyfile.help
|
2005-11-03 17:03:48 +00:00
|
|
|
rm -f config.status config.log config.h Makefile
|
2010-09-18 13:29:05 +00:00
|
|
|
rm -rf $(XSEL)
|
2006-01-23 20:40:14 +00:00
|
|
|
.PHONY: distclean
|
2005-11-03 17:03:48 +00:00
|
|
|
|
2006-10-31 15:36:14 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# clean removes everything built by the makefile, but not things that
|
|
|
|
# are created by the configure script.
|
|
|
|
#
|
|
|
|
|
2012-07-10 02:41:51 +00:00
|
|
|
# Don't delete the docs unless we have Doxygen installed
|
|
|
|
# We provide pre-built docs in the tarball, and if they get
|
|
|
|
# deleted we won't be able to regenerate them
|
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
clean:
|
2012-01-06 18:23:38 +00:00
|
|
|
rm -f *.o doc.h doc.tmp doc_src/*.doxygen doc_src/*.cpp doc_src/*.o doc_src/commands.hdr
|
2012-01-15 08:25:21 +00:00
|
|
|
rm -f $(GENERATED_INTERN_SCRIPT_FILES)
|
2005-11-03 17:03:48 +00:00
|
|
|
rm -f tests/tmp.err tests/tmp.out tests/tmp.status tests/foo.txt
|
2010-09-18 02:18:26 +00:00
|
|
|
rm -f $(PROGRAMS) fish_tests tokenizer_test key_reader
|
2012-06-17 16:27:44 +00:00
|
|
|
rm -f command_list.txt toc.txt
|
2012-07-08 22:20:39 +00:00
|
|
|
rm -f doc_src/index.hdr doc_src/commands.hdr
|
2010-09-18 02:18:26 +00:00
|
|
|
rm -f fish-@PACKAGE_VERSION@.tar
|
|
|
|
rm -f fish-@PACKAGE_VERSION@.tar.gz
|
2005-09-20 13:26:39 +00:00
|
|
|
rm -f fish-@PACKAGE_VERSION@.tar.bz2
|
2012-07-10 02:41:51 +00:00
|
|
|
if command -v doxygen; then \
|
|
|
|
rm -rf doc user_doc share/man; \
|
|
|
|
fi
|
2005-09-20 13:26:39 +00:00
|
|
|
rm -rf fish-@PACKAGE_VERSION@
|
2006-01-10 17:49:07 +00:00
|
|
|
rm -f $(TRANSLATIONS)
|
2010-11-26 20:16:56 +00:00
|
|
|
test ! -d "$(XSEL)" || make -C $(XSEL) clean
|
2006-01-23 20:40:14 +00:00
|
|
|
.PHONY: clean
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-10-31 15:36:14 +00:00
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
2012-01-05 22:10:02 +00:00
|
|
|
|
2012-02-10 03:26:44 +00:00
|
|
|
autoload.o: config.h autoload.h common.h util.h lru.h wutil.h signal.h env.h
|
|
|
|
autoload.o: builtin_scripts.h exec.h proc.h io.h
|
2012-01-30 06:29:13 +00:00
|
|
|
builtin.o: config.h signal.h fallback.h util.h wutil.h builtin.h io.h
|
2012-02-10 03:26:44 +00:00
|
|
|
builtin.o: common.h function.h event.h complete.h proc.h parser.h reader.h
|
2012-01-30 06:29:13 +00:00
|
|
|
builtin.o: env.h wgetopt.h sanity.h tokenizer.h wildcard.h input_common.h
|
2012-02-13 02:05:59 +00:00
|
|
|
builtin.o: input.h intern.h exec.h highlight.h screen.h color.h parse_util.h
|
|
|
|
builtin.o: autoload.h lru.h parser_keywords.h expand.h path.h builtin_set.cpp
|
2012-02-10 03:26:44 +00:00
|
|
|
builtin.o: builtin_commandline.cpp builtin_complete.cpp builtin_ulimit.cpp
|
|
|
|
builtin.o: builtin_jobs.cpp
|
2012-01-05 22:10:02 +00:00
|
|
|
builtin_commandline.o: config.h signal.h fallback.h util.h wutil.h builtin.h
|
|
|
|
builtin_commandline.o: io.h common.h wgetopt.h reader.h proc.h parser.h
|
2012-02-10 03:26:44 +00:00
|
|
|
builtin_commandline.o: event.h function.h tokenizer.h input_common.h input.h
|
|
|
|
builtin_commandline.o: parse_util.h autoload.h lru.h
|
2012-01-05 22:10:02 +00:00
|
|
|
builtin_complete.o: config.h signal.h fallback.h util.h wutil.h builtin.h
|
|
|
|
builtin_complete.o: io.h common.h complete.h wgetopt.h parser.h proc.h
|
2012-02-10 03:26:44 +00:00
|
|
|
builtin_complete.o: event.h function.h reader.h
|
2012-01-30 06:29:13 +00:00
|
|
|
builtin_jobs.o: config.h fallback.h signal.h util.h wutil.h builtin.h io.h
|
2012-02-10 03:26:44 +00:00
|
|
|
builtin_jobs.o: common.h proc.h parser.h event.h function.h wgetopt.h
|
|
|
|
builtin_scripts.o: builtin_scripts.h
|
2012-01-05 22:10:02 +00:00
|
|
|
builtin_set.o: config.h signal.h fallback.h util.h wutil.h builtin.h io.h
|
2012-01-30 06:29:13 +00:00
|
|
|
builtin_set.o: common.h env.h expand.h wgetopt.h proc.h parser.h event.h
|
2012-02-10 03:26:44 +00:00
|
|
|
builtin_set.o: function.h
|
2012-01-30 06:29:13 +00:00
|
|
|
builtin_ulimit.o: config.h fallback.h signal.h util.h builtin.h io.h common.h
|
2012-01-05 22:10:02 +00:00
|
|
|
builtin_ulimit.o: wgetopt.h
|
2012-02-13 02:05:59 +00:00
|
|
|
color.o: color.h config.h common.h util.h
|
2012-01-30 06:29:13 +00:00
|
|
|
common.o: config.h fallback.h signal.h util.h wutil.h common.h expand.h
|
2012-02-10 03:26:44 +00:00
|
|
|
common.o: proc.h io.h wildcard.h parser.h event.h function.h complete.h
|
|
|
|
common.o: util.cpp fallback.cpp
|
2012-01-05 22:10:02 +00:00
|
|
|
complete.o: config.h signal.h fallback.h util.h tokenizer.h wildcard.h
|
|
|
|
complete.o: common.h proc.h io.h parser.h event.h function.h complete.h
|
|
|
|
complete.o: builtin.h env.h exec.h expand.h reader.h history.h intern.h
|
2012-02-10 03:26:44 +00:00
|
|
|
complete.o: parse_util.h autoload.h lru.h parser_keywords.h wutil.h path.h
|
|
|
|
complete.o: builtin_scripts.h
|
2012-01-05 22:10:02 +00:00
|
|
|
env.o: config.h signal.h fallback.h util.h wutil.h proc.h io.h common.h env.h
|
2012-02-10 03:26:44 +00:00
|
|
|
env.o: sanity.h expand.h history.h reader.h parser.h event.h function.h
|
|
|
|
env.o: env_universal.h env_universal_common.h input_common.h path.h
|
2012-01-05 22:10:02 +00:00
|
|
|
env.o: complete.h
|
|
|
|
env_universal.o: config.h signal.h fallback.h util.h common.h wutil.h
|
|
|
|
env_universal.o: env_universal_common.h env_universal.h
|
|
|
|
env_universal_common.o: config.h signal.h fallback.h util.h common.h wutil.h
|
|
|
|
env_universal_common.o: env_universal_common.h
|
2012-01-25 08:36:55 +00:00
|
|
|
event.o: config.h signal.h fallback.h util.h wutil.h function.h common.h
|
2012-02-10 03:26:44 +00:00
|
|
|
event.o: event.h proc.h io.h parser.h
|
2012-01-05 22:10:02 +00:00
|
|
|
exec.o: config.h signal.h fallback.h util.h common.h wutil.h proc.h io.h
|
2012-02-10 03:26:44 +00:00
|
|
|
exec.o: exec.h parser.h event.h function.h builtin.h env.h wildcard.h
|
|
|
|
exec.o: sanity.h expand.h parse_util.h autoload.h lru.h
|
2012-01-05 22:10:02 +00:00
|
|
|
expand.o: config.h signal.h fallback.h util.h common.h wutil.h env.h proc.h
|
2012-02-10 03:26:44 +00:00
|
|
|
expand.o: io.h parser.h event.h function.h expand.h wildcard.h exec.h
|
|
|
|
expand.o: tokenizer.h complete.h parse_util.h autoload.h lru.h
|
2012-01-30 06:29:13 +00:00
|
|
|
fallback.o: config.h fallback.h signal.h util.h
|
2012-01-05 22:10:02 +00:00
|
|
|
fish.o: config.h signal.h fallback.h util.h common.h reader.h io.h builtin.h
|
2012-02-10 03:26:44 +00:00
|
|
|
fish.o: function.h event.h complete.h wutil.h env.h sanity.h proc.h parser.h
|
2012-02-13 02:05:59 +00:00
|
|
|
fish.o: expand.h intern.h exec.h output.h screen.h color.h history.h path.h
|
2012-02-10 03:26:44 +00:00
|
|
|
fish_indent.o: config.h fallback.h signal.h util.h common.h wutil.h
|
|
|
|
fish_indent.o: tokenizer.h print_help.h parser_keywords.h
|
2012-01-05 22:10:02 +00:00
|
|
|
fish_pager.o: config.h signal.h fallback.h util.h wutil.h common.h complete.h
|
2012-02-13 02:05:59 +00:00
|
|
|
fish_pager.o: output.h screen.h color.h input_common.h env_universal.h
|
|
|
|
fish_pager.o: env_universal_common.h print_help.h
|
2012-01-05 22:10:02 +00:00
|
|
|
fish_tests.o: config.h signal.h fallback.h util.h common.h proc.h io.h
|
2012-02-10 03:26:44 +00:00
|
|
|
fish_tests.o: reader.h builtin.h function.h event.h autoload.h lru.h
|
|
|
|
fish_tests.o: complete.h wutil.h env.h expand.h parser.h tokenizer.h output.h
|
2012-02-13 02:05:59 +00:00
|
|
|
fish_tests.o: screen.h color.h exec.h path.h history.h
|
2012-01-05 22:10:02 +00:00
|
|
|
fishd.o: config.h signal.h fallback.h util.h common.h wutil.h
|
2012-02-10 03:26:44 +00:00
|
|
|
fishd.o: env_universal_common.h path.h print_help.h
|
2012-01-25 08:36:55 +00:00
|
|
|
function.o: config.h signal.h wutil.h fallback.h util.h function.h common.h
|
2012-02-10 03:26:44 +00:00
|
|
|
function.o: event.h proc.h io.h parser.h intern.h reader.h parse_util.h
|
|
|
|
function.o: autoload.h lru.h parser_keywords.h env.h expand.h
|
|
|
|
function.o: builtin_scripts.h
|
2012-01-05 22:10:02 +00:00
|
|
|
highlight.o: config.h signal.h fallback.h util.h wutil.h highlight.h env.h
|
2012-02-13 02:05:59 +00:00
|
|
|
highlight.o: common.h screen.h color.h tokenizer.h proc.h io.h parser.h
|
|
|
|
highlight.o: event.h function.h parse_util.h autoload.h lru.h
|
|
|
|
highlight.o: parser_keywords.h builtin.h expand.h sanity.h complete.h
|
|
|
|
highlight.o: output.h wildcard.h path.h
|
2012-02-10 03:26:44 +00:00
|
|
|
history.o: config.h fallback.h signal.h util.h sanity.h wutil.h history.h
|
|
|
|
history.o: common.h intern.h path.h autoload.h lru.h
|
2012-02-13 02:05:59 +00:00
|
|
|
input.o: config.h signal.h fallback.h util.h wutil.h reader.h io.h common.h
|
|
|
|
input.o: proc.h sanity.h input_common.h input.h parser.h event.h function.h
|
|
|
|
input.o: env.h expand.h output.h screen.h color.h intern.h
|
2012-01-30 06:29:13 +00:00
|
|
|
input_common.o: config.h fallback.h signal.h util.h common.h wutil.h
|
|
|
|
input_common.o: input_common.h env_universal.h env_universal_common.h
|
|
|
|
input_common.o: iothread.h
|
|
|
|
intern.o: config.h fallback.h signal.h util.h wutil.h common.h intern.h
|
|
|
|
io.o: config.h fallback.h signal.h util.h wutil.h exec.h proc.h io.h common.h
|
2012-01-25 08:36:55 +00:00
|
|
|
iothread.o: iothread.h signal.h
|
2012-01-30 06:29:13 +00:00
|
|
|
key_reader.o: config.h fallback.h signal.h input_common.h
|
2012-01-05 22:10:02 +00:00
|
|
|
kill.o: config.h signal.h fallback.h util.h wutil.h kill.h proc.h io.h
|
2012-02-10 03:26:44 +00:00
|
|
|
kill.o: common.h sanity.h env.h exec.h path.h
|
2012-01-30 06:29:13 +00:00
|
|
|
mimedb.o: config.h xdgmime.h fallback.h signal.h util.h print_help.h
|
2012-01-05 22:10:02 +00:00
|
|
|
output.o: config.h signal.h fallback.h util.h wutil.h expand.h common.h
|
2012-02-13 02:05:59 +00:00
|
|
|
output.o: output.h screen.h color.h highlight.h env.h
|
2012-01-30 06:29:13 +00:00
|
|
|
parse_util.o: config.h fallback.h signal.h util.h wutil.h common.h
|
2012-02-10 03:26:44 +00:00
|
|
|
parse_util.o: tokenizer.h parse_util.h autoload.h lru.h expand.h intern.h
|
|
|
|
parse_util.o: exec.h proc.h io.h env.h wildcard.h
|
2012-01-05 22:10:02 +00:00
|
|
|
parser.o: config.h signal.h fallback.h util.h common.h wutil.h proc.h io.h
|
2012-02-10 03:26:44 +00:00
|
|
|
parser.o: parser.h event.h function.h parser_keywords.h tokenizer.h exec.h
|
|
|
|
parser.o: wildcard.h builtin.h env.h expand.h reader.h sanity.h
|
2012-01-05 22:10:02 +00:00
|
|
|
parser.o: env_universal.h env_universal_common.h intern.h parse_util.h
|
2012-02-10 03:26:44 +00:00
|
|
|
parser.o: autoload.h lru.h path.h complete.h
|
2012-01-30 06:29:13 +00:00
|
|
|
parser_keywords.o: config.h fallback.h signal.h common.h util.h
|
|
|
|
parser_keywords.o: parser_keywords.h
|
2012-02-10 03:26:44 +00:00
|
|
|
path.o: config.h fallback.h signal.h util.h common.h env.h wutil.h path.h
|
|
|
|
path.o: expand.h
|
2012-01-05 22:10:02 +00:00
|
|
|
print_help.o: print_help.h
|
|
|
|
proc.o: config.h signal.h fallback.h util.h wutil.h proc.h io.h common.h
|
2012-02-13 02:05:59 +00:00
|
|
|
proc.o: reader.h sanity.h env.h parser.h event.h function.h output.h screen.h
|
|
|
|
proc.o: color.h
|
2012-01-05 22:10:02 +00:00
|
|
|
reader.o: config.h signal.h fallback.h util.h wutil.h highlight.h env.h
|
2012-02-13 02:05:59 +00:00
|
|
|
reader.o: common.h screen.h color.h reader.h io.h proc.h parser.h event.h
|
|
|
|
reader.o: function.h complete.h history.h sanity.h exec.h expand.h
|
|
|
|
reader.o: tokenizer.h kill.h input_common.h input.h output.h iothread.h
|
|
|
|
reader.o: intern.h parse_util.h autoload.h lru.h
|
2012-01-05 22:10:02 +00:00
|
|
|
sanity.o: config.h signal.h fallback.h util.h common.h sanity.h proc.h io.h
|
|
|
|
sanity.o: history.h reader.h kill.h wutil.h
|
2012-01-30 06:29:13 +00:00
|
|
|
screen.o: config.h fallback.h signal.h common.h util.h wutil.h output.h
|
2012-02-13 02:05:59 +00:00
|
|
|
screen.o: screen.h color.h highlight.h env.h
|
2012-01-30 06:29:13 +00:00
|
|
|
set_color.o: config.h fallback.h signal.h print_help.h
|
2012-01-05 22:10:02 +00:00
|
|
|
signal.o: config.h signal.h common.h util.h fallback.h wutil.h event.h
|
|
|
|
signal.o: reader.h io.h proc.h
|
2012-01-30 06:29:13 +00:00
|
|
|
tokenizer.o: config.h fallback.h signal.h util.h wutil.h tokenizer.h common.h
|
|
|
|
util.o: config.h fallback.h signal.h util.h common.h wutil.h
|
|
|
|
wgetopt.o: config.h wgetopt.h wutil.h fallback.h signal.h
|
|
|
|
wildcard.o: config.h fallback.h signal.h util.h wutil.h complete.h common.h
|
2012-02-10 03:26:44 +00:00
|
|
|
wildcard.o: wildcard.h reader.h io.h expand.h exec.h proc.h
|
|
|
|
wutil.o: config.h fallback.h signal.h util.h common.h wutil.h
|
2012-01-05 22:10:02 +00:00
|
|
|
xdgmime.o: xdgmime.h xdgmimeint.h xdgmimeglob.h xdgmimemagic.h xdgmimealias.h
|
|
|
|
xdgmime.o: xdgmimeparent.h
|
|
|
|
xdgmimealias.o: xdgmimealias.h xdgmime.h xdgmimeint.h
|
|
|
|
xdgmimeglob.o: xdgmimeglob.h xdgmime.h xdgmimeint.h
|
|
|
|
xdgmimeint.o: xdgmimeint.h xdgmime.h
|
|
|
|
xdgmimemagic.o: xdgmimemagic.h xdgmime.h xdgmimeint.h
|
|
|
|
xdgmimeparent.o: xdgmimeparent.h xdgmime.h xdgmimeint.h
|