Skip to content

Commit

Permalink
hdrop: update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Nov 16, 2023
1 parent cadda77 commit 3eaa1ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hdrop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@ PREFIX ?= $(DESTDIR)usr/local
EXEC_PREFIX ?= $(PREFIX)
DATAROOTDIR ?= $(PREFIX)/share
BINDIR ?= $(EXEC_PREFIX)/bin
MANDIR ?= $(DATAROOTDIR)/man
MAN1DIR ?= $(MANDIR)/man1

all: hdrop.1

hdrop.1: hdrop.1.scd
scdoc < $< > $@

install:
@install -v -D -m 0644 hdrop.1 --target-directory "$(MAN1DIR)"
@install -v -D -m 0755 hdrop --target-directory "$(BINDIR)"

uninstall:
rm "$(MAN1DIR)/hdrop.1"
rm "$(BINDIR)/hdrop"

0 comments on commit 3eaa1ed

Please sign in to comment.