28 lines
394 B
Text
28 lines
394 B
Text
include build/Makefile.incl
|
|
|
|
dir = data
|
|
|
|
files = rc3
|
|
|
|
srcdir := $(srcdir)/$(dir)
|
|
dir := $(DESTDIR)$(rcdir)
|
|
sources := $(addprefix $(srcdir)/,$(files))
|
|
|
|
all:
|
|
|
|
install:
|
|
$(INSTALL) -d $(dir)
|
|
$(INSTALL) -m 644 $(sources) $(dir)
|
|
|
|
uninstall:
|
|
for i in $(files); do \
|
|
$(RM) $(dir)/$$i; \
|
|
done
|
|
-rmdir $(dir)
|
|
|
|
clean:
|
|
$(RM) $(srcdir)/*\~
|
|
|
|
distclean:
|
|
|
|
.PHONY: all install uninstall clean distclean
|