summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_install_subdirs.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr/pkg_install_subdirs.subr')
-rw-r--r--subr/pkg_install_subdirs.subr17
1 files changed, 17 insertions, 0 deletions
diff --git a/subr/pkg_install_subdirs.subr b/subr/pkg_install_subdirs.subr
new file mode 100644
index 00000000..c63eda70
--- /dev/null
+++ b/subr/pkg_install_subdirs.subr
@@ -0,0 +1,17 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+pkg_install_subdirs() {
+ pkg_install_files "${PWD}/.." \
+ /=destdir \
+ /=destdir/bin \
+ /=destdir/lib \
+ /=destdir/sbin \
+ /=destdir/share/man/man1 \
+ /=destdir/share/man \
+ @.=destdir/usr \
+ @share/man=destdir/man;
+};
+
+# vim:filetype=sh