piler/util/Makefile.in

53 lines
1.9 KiB
Makefile
Raw Normal View History

2012-02-11 23:12:30 +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@
2012-02-11 23:12:30 +01:00
LIBDIR = -L. @LIBDIR@ @LDFLAGS@ -L../../src
2013-05-16 22:13:46 +02:00
LIBS = @LIBS@ @sql_libs@
2012-02-11 23:12:30 +01:00
RUNNING_USER = @RUNNING_USER@
RUNNING_GROUP = `@id_bin@ -gn $(RUNNING_USER)`
INSTALL = @INSTALL@
all:
sed -e "s%BINDIR%$(bindir)%" -e "s%__SYSCONFDIR%$(sysconfdir)%" -e "s%__LOCALSTATEDIR%$(localstatedir)%" -e "s%__LIBEXECDIR%$(libexecdir)%" -e "s%__DATAROOTDIR%$(datarootdir)%" $(srcdir)/postinstall.sh.in > $(srcdir)/postinstall.sh
2013-09-28 21:47:34 +02:00
2012-02-11 23:12:30 +01:00
install:
2014-01-23 21:41:20 +01:00
$(INSTALL) -m 0755 $(srcdir)/automated-search.php $(DESTDIR)$(libexecdir)/piler
2012-05-11 23:42:55 +02:00
$(INSTALL) -m 0755 $(srcdir)/daily-report.php $(DESTDIR)$(libexecdir)/piler
$(INSTALL) -m 0755 $(srcdir)/gmail-imap-import.php $(DESTDIR)$(libexecdir)/piler
2013-03-21 19:01:06 +01:00
$(INSTALL) -m 0755 $(srcdir)/generate_stats.php $(DESTDIR)$(libexecdir)/piler
2015-04-22 12:26:04 +02:00
$(INSTALL) -m 0755 $(srcdir)/sign.php $(DESTDIR)$(libexecdir)/piler
2013-07-09 10:12:42 +02:00
$(INSTALL) -m 0755 $(srcdir)/indexer.delta.sh $(DESTDIR)$(libexecdir)/piler
$(INSTALL) -m 0755 $(srcdir)/indexer.main.sh $(DESTDIR)$(libexecdir)/piler
2015-05-12 14:34:38 +02:00
$(INSTALL) -m 0755 $(srcdir)/indexer.attachment.sh $(DESTDIR)$(libexecdir)/piler
2013-08-24 15:10:44 +02:00
$(INSTALL) -m 0755 $(srcdir)/import.sh $(DESTDIR)$(libexecdir)/piler
2013-09-29 10:24:05 +02:00
$(INSTALL) -m 0755 $(srcdir)/purge.sh $(DESTDIR)$(libexecdir)/piler
2013-09-28 21:47:34 +02:00
$(INSTALL) -m 0755 $(srcdir)/postinstall.sh $(DESTDIR)$(libexecdir)/piler
2012-02-11 23:12:30 +01:00
$(INSTALL) -m 0755 $(srcdir)/db-mysql.sql $(DESTDIR)$(datarootdir)/piler
$(INSTALL) -m 0755 $(srcdir)/db-mysql-root.sql.in $(DESTDIR)$(datarootdir)/piler
$(INSTALL) -m 0644 -o $(RUNNING_USER) -g $(RUNNING_GROUP) $(srcdir)/deduphelper $(DESTDIR)$(datarootdir)/piler
2012-02-11 23:12:30 +01:00
clean:
2013-09-29 10:24:05 +02:00
rm -f postinstall.sh
2012-02-11 23:12:30 +01:00
distclean: clean
rm -f Makefile