diff --git a/Makefile b/Makefile index cb900d4..d7c0025 100644 --- a/Makefile +++ b/Makefile @@ -6,3 +6,7 @@ all: xdg-open out.png clean: rm sigs out.dot out.svg out.png||: +install: + cp sigs2dot.py /usr/local/bin/sigs2dot +uninstall: + rm /usr/local/bin/sigs2dot diff --git a/sigs2dot.py b/sigs2dot.py old mode 100644 new mode 100755 index 4f458b0..bb8b0cb --- a/sigs2dot.py +++ b/sigs2dot.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import string, sys def sanitize(s): final = ''