piler/etc/Makefile.in

40 lines
1.0 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. -I../.. -I../../src @INCDIR@ @sql_includes@
2011-11-14 15:57:52 +01:00
LIBDIR = -L. @LIBDIR@ @LDFLAGS@ -L../../src
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)`
INSTALL = @INSTALL@
all:
sed -e 's%pidfile=.*%pidfile=$(localstatedir)/run/piler/piler.pid%g' \
2012-02-11 23:12:30 +01:00
-e 's%iv=.*%iv=@iv@%g' \
2013-09-28 14:50:39 +02:00
-e 's%workdir=.*%workdir=$(localstatedir)/piler/tmp%g' < $(srcdir)/example.conf | grep -v ^\; | grep '=' | sort > $(srcdir)/piler.conf
2011-11-14 15:57:52 +01:00
install:
2012-02-11 23:12:30 +01:00
if [ ! -f "$(DESTDIR)$(sysconfdir)/piler.conf" ]; then $(INSTALL) -m 0640 -g $(RUNNING_GROUP) $(srcdir)/piler.conf $(DESTDIR)$(sysconfdir)/piler.conf; fi
2011-11-14 15:57:52 +01:00
clean:
rm -f piler.conf cron.jobs
distclean: clean
rm -f Makefile