Ignore:
Timestamp:
01/15/06 11:53:48 (17 years ago)
Author:
bas
Message:

EmailtoTracScript?:

Email2trac:

  • Deleted delete_spam.py, email2trac.py
  • Added delete_spam.py.in, email2trac.py.in
  • Added configure options for mta_user and trac_user
  • Check C-compiler
File:
1 edited

Legend:

Unmodified
Added
Removed
  • emailtotracscript/trunk/Makefile.in

    r21 r22  
    88# defaullt values are:
    99#
    10 # MTA_USER "nobody"
    11 # TRAC_USER "www-data"
    12 # TRAC_SCRIPT_NAME "email2trac"
    1310#
    1411PREFIX=@prefix@
     
    1613PYTHON_BIN=@PYTHON@
    1714
    18 CC=gcc
     15# User names
     16#
     17TRAC_USER=@trac_user@
     18MTA_USER=@mta_user@
     19
     20CC=@CC@
    1921DEBUG=0
    2022CFLAGS=-DMTA_USER=\"$(MTA_USER)\" -DTRAC_USER=\"$(TRAC_USER)\" -DTRAC_SCRIPT_NAME=\"$(TRAC_SCRIPT_NAME)\" -DTRAC_SCRIPT_PATH=\"$(INSTALL_BIN)\" -DDEBUG=$(DEBUG)
     
    3234        for script in $(PYTHON_FILES) ; \
    3335        do \
    34           name=`basename email2trac.py '.py'`
    35           sed -e "s%^\#\!/usr/bin/python%\#\!$(PYTHON_BIN)%" $$script > $(INSTALL_BIN)/$$name ; \
    36           chmod a+x $(INSTALL_BIN)/$$name ; \
     36          name=`basename $$script '.py'` ; \
     37          install --mode=755 --owner=root $$script  $(INSTALL_BIN)/$$name
    3738        done
    3839
    3940clean:
    40         rm run_email2trac
     41        rm run_email2trac 
Note: See TracChangeset for help on using the changeset viewer.