aboutsummaryrefslogtreecommitdiffstats
path: root/mk/files.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/files.mk')
-rw-r--r--mk/files.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/files.mk b/mk/files.mk
new file mode 100644
index 0000000..0682b03
--- /dev/null
+++ b/mk/files.mk
@@ -0,0 +1,9 @@
+# Quick and dirty files
+# Copyright 2008 Roy Marples <roy@marples.name>
+
+FILESDIR?= ${BINDIR}
+FILESMODE?= ${NONBINMODE}
+
+_filesinstall:
+ ${INSTALL} -d ${DESTDIR}${FILESDIR}
+ ${INSTALL} -m ${FILESMODE} ${FILES} ${DESTDIR}${FILESDIR}