Last change
on this file since 49 was
24,
checked in by bas, 18 years ago
|
EmailtoTracScript?:
email2trac:
- we can now set the default poth for the config file
with configure for email2trac.py
- Added svn keywords for all the files
- Updated the install doc
|
-
Property svn:keywords set to
Id
|
File size:
998 bytes
|
Line | |
---|
1 | # Authors: Bas van der Vlies & Michel Jouvin |
---|
2 | # Date : 13 Jan 2005 |
---|
3 | # Desc. : Simple Makefile |
---|
4 | # |
---|
5 | # SVN INFO: |
---|
6 | # $Id: Makefile.in 24 2006-01-15 12:46:09Z bas $ |
---|
7 | # |
---|
8 | # |
---|
9 | PREFIX=@prefix@ |
---|
10 | EXEC_PREFIX=@exec_prefix@/bin |
---|
11 | PYTHON_BIN=@PYTHON@ |
---|
12 | CONFIG=@sysconfdir@ |
---|
13 | |
---|
14 | # User names |
---|
15 | # |
---|
16 | TRAC_USER=@trac_user@ |
---|
17 | MTA_USER=@mta_user@ |
---|
18 | |
---|
19 | CC=@CC@ |
---|
20 | DEBUG=0 |
---|
21 | CFLAGS=-DMTA_USER=\"$(MTA_USER)\" -DTRAC_USER=\"$(TRAC_USER)\" -DTRAC_SCRIPT_NAME=\"$(TRAC_SCRIPT_NAME)\" -DTRAC_SCRIPT_PATH=\"$(EXEC_PREFIX)\" -DDEBUG=$(DEBUG) |
---|
22 | |
---|
23 | PYTHON_FILES=delete_spam.py email2trac.py |
---|
24 | WRAPPER_SRC=run_email2trac.c run_email2trac.h |
---|
25 | |
---|
26 | all: run_email2trac |
---|
27 | |
---|
28 | run_email2trac: $(WRAPPER_SRC) Makefile |
---|
29 | $(CC) $(CFLAGS) -o $@ run_email2trac.c |
---|
30 | |
---|
31 | install: all |
---|
32 | install --mode=4700 --owner=root run_email2trac $(EXEC_PREFIX) |
---|
33 | for script in $(PYTHON_FILES) ; \ |
---|
34 | do \ |
---|
35 | name=`basename $$script '.py'` ; \ |
---|
36 | install --mode=755 --owner=root $$script $(EXEC_PREFIX)/$$name |
---|
37 | done |
---|
38 | |
---|
39 | clean: |
---|
40 | rm run_email2trac |
---|
41 | |
---|
42 | distclean: |
---|
43 | rm run_email2trac email2trac.py delete_spam.py config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.