My slstatus configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 8 година
пре 7 година
пре 8 година
пре 7 година
пре 7 година
пре 8 година
пре 7 година
пре 8 година
пре 7 година
пре 7 година
пре 8 година
пре 7 година
пре 8 година
12345678910111213141516171819202122232425262728
  1. # See LICENSE file for copyright and license details.
  2. include config.mk
  3. all: slstatus
  4. slstatus: slstatus.c config.h config.mk
  5. ${CC} ${CFLAGS} -o $@ slstatus.c ${LDFLAGS}
  6. config.h:
  7. cp config.def.h $@
  8. clean:
  9. rm -f slstatus
  10. install: all
  11. mkdir -p ${DESTDIR}${PREFIX}/bin
  12. cp -f slstatus ${DESTDIR}${PREFIX}/bin
  13. chmod 755 ${DESTDIR}${PREFIX}/bin/slstatus
  14. mkdir -p ${DESTDIR}${MANPREFIX}/man1
  15. cp -f slstatus.1 ${DESTDIR}${MANPREFIX}/man1
  16. chmod 644 ${DESTDIR}${MANPREFIX}/man1/slstatus.1
  17. uninstall:
  18. rm -f ${DESTDIR}${PREFIX}/bin/slstatus
  19. rm -f ${DESTDIR}${MANPREFIX}/man1/slstatus.1
  20. .PHONY: all clean install uninstall