💾 Archived View for gmn.clttr.info › sources › art-helpers.git › tree › Makefile.txt captured on 2024-02-05 at 10:02:10.

View Raw

More Information

⬅️ Previous capture (2023-06-14)

-=-=-=-=-=-=-

VERSION=1.1
PREFIX?=/usr/local
BINDIR?=$(PREFIX)/bin
MANDIR?=$(PREFIX)/share/man
DOCDIR?=$(PREFIX)/share/doc
COMPLDIR?=$(PREFIX)/share/bash-completion
.DEFAULT_GOAL=all

afm.1: afm.1.scd
	scdoc < {body}lt; > $@

afm:

jd:

all: afm afm.1 jd

install: all
	mkdir -p $(DESTDIR)/$(BINDIR) $(DESTDIR)/$(MANDIR)/man1
	install -m755 afm $(DESTDIR)/$(BINDIR)/afm
	install -m755 jd $(DESTDIR)/$(BINDIR)/jd
	install -m644 afm.1 $(DESTDIR)/$(MANDIR)/man1/afm.1

uninstall:
	rm -f $(DESTDIR)/$(BINDIR)/afm
	rm -f $(DESTDIR)/$(BINDIR)/jd
	rm -f $(DESTDIR)/$(MANDIR)/man1/afm.1

clean:
	rm -rf afm.1