Added --version option. Added install.sh.
[confparser-old] / Makefile
index 03ab928..aa99d7e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,3 @@
-INSTALL_DIR=/opt/tuxeenet/mail-filter/
-
 usage:
        @echo 'make [clean|install]'
 
@@ -7,11 +5,4 @@ clean:
        rm -f *.pyc
 
 install:
-       @echo "Creating /opt/tuxeenet/mail-filter"
-       @mkdir -p /opt/tuxeenet/mail-filter
-       @echo "Copying mail.filter to ${INSTALL_DIR}"
-       @install -o root -g root -m 755 mail.filter ${INSTALL_DIR}
-       @for module in confparser basicparser basicvalidator; do\
-echo "Copying $$module.py to ${INSTALL_DIR}"; \
-install -o root -g root -m 644 "$$module.py" ${INSTALL_DIR};\
-done
+       sh install.sh