My slstatus configuration
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

12345678910111213141516171819202122232425262728
  1. # See LICENSE file for copyright and license details.
  2. # slstatus - suckless status monitor
  3. .POSIX:
  4. include config.mk
  5. all: slstatus
  6. slstatus: slstatus.c config.h config.mk
  7. $(CC) -o $@ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) slstatus.c $(LDLIBS)
  8. config.h:
  9. cp config.def.h $@
  10. clean:
  11. rm -f slstatus
  12. install: all
  13. mkdir -p "$(DESTDIR)$(PREFIX)/bin"
  14. cp -f slstatus "$(DESTDIR)$(PREFIX)/bin"
  15. chmod 755 "$(DESTDIR)$(PREFIX)/bin/slstatus"
  16. mkdir -p "$(DESTDIR)$(MANPREFIX)/man1"
  17. cp -f slstatus.1 "$(DESTDIR)$(MANPREFIX)/man1"
  18. chmod 644 "$(DESTDIR)$(MANPREFIX)/man1/slstatus.1"
  19. uninstall:
  20. rm -f "$(DESTDIR)$(PREFIX)/bin/slstatus"
  21. rm -f "$(DESTDIR)$(MANPREFIX)/man1/slstatus.1"