Makefile 468 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
include ../config.mk

LIB_DIST=dbcontrollerfunctions.lua\
	dbmodelfunctions.lua\
	db-*-html.lsp\

EXTRA_DIST=Makefile
DISTFILES=$(LIB_DIST) $(EXTRA_DIST)

install_dir=$(DESTDIR)/$(acflibdir)
dist_dir=$(DISTDIR)/$(notdir $(PWD))

phony+=all
all:

phony+=clean
clean:

phony+=distdir
distdir: $(DISTFILES)
	mkdir -p "$(dist_dir)"
	cp -a $(DISTFILES) "$(dist_dir)"

phony+=install
install:
	mkdir -p "$(install_dir)"
	cp -a $(LIB_DIST) "$(install_dir)"

.PHONY: $(phony)