piler/Makefile.in

124 lines
3.2 KiB
Makefile
Raw Normal View History

2011-11-14 15:57:52 +01:00
SHELL = @SHELL@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
includedir = @includedir@
libdir = @libdir@
libexecdir = @libexecdir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
mandir = @mandir@
datarootdir = @datarootdir@
localstatedir = @localstatedir@
CC = @CC@
CFLAGS = @CFLAGS@ @CPPFLAGS@
DEFS = @defs@
2013-05-16 22:13:46 +02:00
INCDIR = -I. @INCDIR@ @sql_includes@
2011-11-14 15:57:52 +01:00
LIBDIR = -L. @LIBDIR@ @LDFLAGS@
2013-05-16 22:13:46 +02:00
LIBS = @LIBS@ @sql_libs@
2011-11-14 15:57:52 +01:00
RUNNING_USER = @RUNNING_USER@
RUNNING_GROUP = `@id_bin@ -gn $(RUNNING_USER)`
SUBDIRS = @SUBDIRS@
RECURSIVE_TARGETS = all-recursive install-recursive clean-recursive distclean-recursive
MAKE = `which @MAKE@`
2011-11-14 15:57:52 +01:00
INSTALL = @INSTALL@
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
piler-config.h stamp.h stamp-h1 params.h
all: all-recursive
install: installdirs install-recursive
$(RECURSIVE_TARGETS):
@failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
installdirs: mkinstalldirs
$(srcdir)/mkinstalldirs \
$(DESTDIR)$(bindir) \
$(DESTDIR)$(sbindir) \
$(DESTDIR)$(libdir) \
$(DESTDIR)$(libexecdir)/piler \
$(DESTDIR)$(datarootdir)/piler \
$(DESTDIR)$(sysconfdir) \
$(DESTDIR)$(sysconfdir)/piler \
$(DESTDIR)/etc/init.d \
2012-02-11 23:12:30 +01:00
$(DESTDIR)$(localstatedir)/piler/store \
$(DESTDIR)$(localstatedir)/piler/stat $(DESTDIR)$(localstatedir)/piler/tmp \
$(DESTDIR)$(localstatedir)/piler/sphinx
2011-11-14 15:57:52 +01:00
$(INSTALL) -d -m 0755 -o $(RUNNING_USER) -g $(RUNNING_GROUP) $(DESTDIR)$(localstatedir)/run/piler
2012-02-11 23:12:30 +01:00
$(INSTALL) -d -m 0700 -o $(RUNNING_USER) -g $(RUNNING_GROUP) $(DESTDIR)$(localstatedir)/piler/store
2012-09-28 14:15:45 +02:00
$(INSTALL) -d -m 0700 -o $(RUNNING_USER) -g $(RUNNING_GROUP) $(DESTDIR)$(localstatedir)/piler/imap
2011-12-27 20:51:56 +01:00
$(INSTALL) -d -m 0755 -o $(RUNNING_USER) -g $(RUNNING_GROUP) $(DESTDIR)$(localstatedir)/piler/stat
2012-01-07 00:00:36 +01:00
$(INSTALL) -d -m 0711 -o $(RUNNING_USER) -g $(RUNNING_GROUP) $(DESTDIR)$(localstatedir)/piler/tmp
$(INSTALL) -d -m 0755 -o $(RUNNING_USER) -g $(RUNNING_GROUP) $(DESTDIR)$(localstatedir)/piler/sphinx
2011-11-14 15:57:52 +01:00
install-am:
uninstall:
rm -f \
$(DESTDIR)$(sbindir)/piler $(DESTDIR)$(sbindir)/pilerconf $(DESTDIR)$(libdir)/libpiler.* \
$(DESTDIR)$(sysconfdir)/piler.conf
rm -rf $(DESTDIR)$(libexecdir)/piler $(DESTDIR)$(includedir)/piler $(DESTDIR)$(datarootdir)/piler
2011-12-27 20:51:56 +01:00
@echo "I left the $(DESTDIR)$(localstatedir)/piler directory, remove it for yourself"
2011-11-14 15:57:52 +01:00
all-am: Makefile
clean: clean-recursive
rm -f piler.key
clean-am: clean-generic
clean-generic:
distclean: distclean-recursive
rm -f $(am__CONFIG_DISTCLEAN_FILES)
rm -f Makefile piler.key
distclean-am: clean-am
key:
dd if=/dev/urandom bs=56 count=1 of=piler.key
postinstall:
2013-07-09 10:12:42 +02:00
@sh util/postinstall.sh $(RUNNING_USER) $(RUNNING_GROUP) $(sysconfdir) $(localstatedir) $(libexecdir)