tetraflexagon_diagram: add a function to calculate the tile offset in a square
[flexagon-toolkit.git] / Makefile
1 all:
2
3 install_gimp_plugin:
4         ln -sf $(PWD)/src/gimp_hexaflexagon.py ~/.gimp-2.8/plug-ins/
5         ln -sf $(PWD)/src/gimp_diagram_test.py ~/.gimp-2.8/plug-ins/
6
7 uninstall_gimp_plugin:
8         rm -f ~/.gimp-2.8/plug-ins/gimp_hexaflexagon.py
9         rm -f ~/.gimp-2.8/plug-ins/gimp_diagram_test.py
10
11 pep8:
12         find . -name "*.py" -print0 | xargs -r0 pep8 --ignore=E501
13
14 clean:
15         find . -name "*.pyc" -print0 | xargs -r0 rm
16         find . -type d -name "__pycache__" -print0 | xargs -r0 rm -r