topdir := $(realpath ..) include $(topdir)/config.mk files = $(wildcard *.md) all: PHONY build build: PHONY install: $(addprefix $(DESTDIR)$(docdir)/libretools/,$(files)) $(DESTDIR)$(docdir)/libretools/%: % install -Dm644 '$<' '$@' FORCE: PHONY PHONY: .PHONY: FORCE PHONY