Makefile 396 B

123456789101112131415161718
  1. APP=birbci
  2. PREFIX?=/usr/local
  3. all:
  4. debug:
  5. install:
  6. cp ${APP} ${DESTDIR}${PREFIX}/bin
  7. mkdir -p ${DESTDIR}/usr/share/${APP}/images
  8. cp -r images/* ${DESTDIR}/usr/share/${APP}/images
  9. mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/man/man1
  10. cp man/${APP}.1.gz ${DESTDIR}${PREFIX}/share/man/man1
  11. uninstall:
  12. rm ${PREFIX}/bin/${APP}
  13. rm -rf /usr/share/${APP}
  14. rm ${PREFIX}/share/man/man1/${APP}.1.gz