Simplify selfspy update #53

Open
lervag opened this Issue Jan 14, 2013 · 1 comment

Projects

None yet

2 participants

lervag commented Jan 14, 2013

Hi,

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

install:
    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/__init__.py $(DESTDIR)/usr/bin/selfspy
    ln -s $(DESTDIR)/var/lib/selfspy/stats.py $(DESTDIR)/usr/bin/selfstats
Contributor

NOTE TO SELF: Update makefile

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