Makefile 315 B

12345678910111213
  1. DESTDIR=/
  2. all: build install
  3. clean:
  4. `find | grep pycache | sed 's/^/rm -rf /g'`
  5. rm -rf build
  6. build:
  7. python3 setup.py build
  8. install:
  9. python3 setup.py install --install-lib=${DESTDIR}/usr/lib/sulin
  10. install actions-main.c ${DESTDIR}/usr/lib/sulin/actions-main.c
  11. ln -s inary-cli ${DESTDIR}/usr/bin/inary || true