This commit is contained in:
Schweber 2024-09-18 13:29:08 +02:00
commit 011d4c1290
5 changed files with 1103 additions and 0 deletions

20
Makefile Normal file
View file

@ -0,0 +1,20 @@
DESTDIR ?= /
PREFIX ?= $(DESTDIR)usr/local
EXEC_PREFIX ?= $(PREFIX)
DATAROOTDIR ?= $(PREFIX)/share
BINDIR ?= $(EXEC_PREFIX)/bin
MANDIR ?= $(DATAROOTDIR)/man
MAN1DIR ?= $(MANDIR)/man1
all: ndrop.1
ndrop.1: ndrop.1.scd
scdoc < $< > $@
install: ndrop.1 ndrop
@install -v -D -m 0644 ndrop.1 --target-directory "$(MAN1DIR)"
@install -v -D -m 0755 ndrop --target-directory "$(BINDIR)"
uninstall:
rm "$(MAN1DIR)/ndrop.1"
rm "$(BINDIR)/ndrop"