Ignore:
Timestamp:
01/15/06 13:46:09 (17 years ago)
Author:
bas
Message:

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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • emailtotracscript/trunk/Makefile.in

    r23 r24  
    66#      $Id$
    77#
    8 # defaullt values are:
    9 #
    108#
    119PREFIX=@prefix@
    12 INSTALL_BIN=$(PREFIX)/bin
     10EXEC_PREFIX=@exec_prefix@/bin
    1311PYTHON_BIN=@PYTHON@
     12CONFIG=@sysconfdir@
    1413
    1514# User names
     
    2019CC=@CC@
    2120DEBUG=0
    22 CFLAGS=-DMTA_USER=\"$(MTA_USER)\" -DTRAC_USER=\"$(TRAC_USER)\" -DTRAC_SCRIPT_NAME=\"$(TRAC_SCRIPT_NAME)\" -DTRAC_SCRIPT_PATH=\"$(INSTALL_BIN)\" -DDEBUG=$(DEBUG)
     21CFLAGS=-DMTA_USER=\"$(MTA_USER)\" -DTRAC_USER=\"$(TRAC_USER)\" -DTRAC_SCRIPT_NAME=\"$(TRAC_SCRIPT_NAME)\" -DTRAC_SCRIPT_PATH=\"$(EXEC_PREFIX)\" -DDEBUG=$(DEBUG)
    2322
    2423PYTHON_FILES=delete_spam.py email2trac.py
     
    2726all: run_email2trac
    2827
    29 run_email2trac: $(WRAPPER_SRC)
     28run_email2trac: $(WRAPPER_SRC) Makefile
    3029        $(CC) $(CFLAGS) -o $@ run_email2trac.c
    3130
    3231install: all
    33         install --mode=4700 --owner=root run_email2trac $(INSTALL_BIN)
     32        install --mode=4700 --owner=root run_email2trac $(EXEC_PREFIX)
    3433        for script in $(PYTHON_FILES) ; \
    3534        do \
    3635          name=`basename $$script '.py'` ; \
    37           install --mode=755 --owner=root $$script  $(INSTALL_BIN)/$$name
     36          install --mode=755 --owner=root $$script  $(EXEC_PREFIX)/$$name
    3837        done
    3938
    4039clean:
    41         rm run_email2trac email2trac.py delete_spam.py config.log config.status
     40        rm run_email2trac
     41
     42distclean:
     43        rm run_email2trac email2trac.py delete_spam.py config.log config.status Makefile
Note: See TracChangeset for help on using the changeset viewer.