]> thyrsus.com Git - comparator.git/commitdiff
There is now a Python module.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 16 Sep 2003 17:46:00 +0000 (17:46 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 16 Sep 2003 17:46:00 +0000 (17:46 +0000)
Makefile

index 24bd7b79ad8b1dff31cfbf7c1fc09811ae13c020..24c4956f73f64b97192308b1980b5633f08f913a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,8 @@ VERS=2.0
 
 CODE    = shredtree.c shred.h report.c hash.c main.c md5.c md5.h \
                hash.h hashtab.h \
-               filterator hashgen.py
+               filterator 
+SCRIPTS = hashgen.py setup.py
 DOCS    = README NEWS comparator.xml scf-standard.xml COPYING
 EXTRAS  = shredtree.py shredcompare.py
 TEST    = test
@@ -77,11 +78,13 @@ install: comparator.1 uninstall
        install -m 755 -o 0 -g 0 filterator $(ROOT)/usr/bin/filterator
        install -m 755 -o 0 -g 0 -d $(ROOT)/usr/share/man/man1/
        install -m 755 -o 0 -g 0 comparator.1 $(ROOT)/usr/share/man/man1/comparator.1
+       python setup.py install
 
 uninstall:
        rm -f ${ROOT}/usr/bin/comparator 
        rm -f ${ROOT}/usr/bin/filterator 
        rm -f ${ROOT}/usr/share/man/man1/comparator.1
+       #python setup.py uninstall
 
 comparator-$(VERS).tar.gz: $(SOURCES) comparator.1
        find $(SOURCES) comparator.1 -type f | sed "s:^:comparator-$(VERS)/:" >MANIFEST