diff options
Diffstat (limited to 'lang/erlang14/Makefile')
-rw-r--r-- | lang/erlang14/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile index 0530f36a3a82..80b315a4b123 100644 --- a/lang/erlang14/Makefile +++ b/lang/erlang14/Makefile @@ -141,11 +141,17 @@ post-install: # All non-library files. + @cd ${PREFIX} ; ${FIND} lib/erlang/* -type d -empty \ + | ${GREP} -v "^lib/erlang/lib" \ + | ${SORT} \ + | ${SED} -e 's#^#@exec ${MKDIR} %D/#g' \ + > ${ERLANG_PLIST} + @cd ${PREFIX} ; ${FIND} lib/erlang/* -type f -o -type l \ | ${GREP} -v "^lib/erlang/man" \ | ${GREP} -v "^lib/erlang/lib" \ | ${SORT} \ - > ${ERLANG_PLIST} + >> ${ERLANG_PLIST} # Stock OTP libraries. |