Simplify selfspy update #53

lervag opened this Issue Jan 14, 2013 · 1 comment


None yet

2 participants

lervag commented Jan 14, 2013


The makefile for selfspy should be update to make it easier to upgrade. As far as I can see, I now how to first remove the old version of selfspy manually, and then run make install. The new target should probably be something like

    mkdir -p $(DESTDIR)/var/lib/selfspy
    install selfspy/*.py $(DESTDIR)/var/lib/selfspy
    rm -f /usr/bin/selfspy
    rm -f /usr/bin/selfstats
    ln -s $(DESTDIR)/var/lib/selfspy/ $(DESTDIR)/usr/bin/selfspy
    ln -s $(DESTDIR)/var/lib/selfspy/ $(DESTDIR)/usr/bin/selfstats

NOTE TO SELF: Update makefile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment