sourcezap/Makefile

25 lines
656 B
Makefile
Raw Normal View History

PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/man/man8
2024-05-12 01:19:45 +02:00
LIBEXECDIR = $(PREFIX)/libexec/sourcezap
SHAREDIR = $(PREFIX)/share/sourcezap
install:
install -d $(BINDIR) $(LIBEXECDIR) $(SHAREDIR) $(MANDIR)
2024-05-12 01:19:45 +02:00
install -m 0755 bin/sourcezap $(BINDIR)
install -m 0755 bin/setup-sourcezap $(BINDIR)
install -m 0755 libexec/sourcezap/* $(LIBEXECDIR)
install -m 0644 share/sourcezap/* $(SHAREDIR)
install -m 0644 man/man8/sourcezap.8 $(MANDIR)
deinstall:
2024-05-12 01:19:45 +02:00
rm $(BINDIR)/sourcezap
rm $(BINDIR)/setup-sourcezap
rm $(MANDIR)/sourcezap.8
rm -rf $(LIBEXECDIR)
rm -rf $(SHAREDIR)
shellcheck:
2024-05-12 01:19:45 +02:00
shellcheck bin/sourcezap
shellcheck libexec/sourcezap/*