Skip to content

Commit b968bbe

Browse files
committed
Include license files in all package distributions
Add NOTICE, DISCLAIMER, and LICENSE files to the stage target in Makefile to ensure they are included in all package formats (tar, rpm, and deb). This ensures proper license attribution and compliance with Apache Software Foundation requirements for all distribution methods. Previously, these files were not copied during the packaging process, which could lead to incomplete license information in distributed packages.
1 parent 7cfe382 commit b968bbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ endif
115115
cp -a server/build/stage/* build/stage/$${PXF_PACKAGE_NAME} ;\
116116
echo $$(git rev-parse --verify HEAD) > build/stage/$${PXF_PACKAGE_NAME}/commit.sha ;\
117117
cp package/install_binary build/stage/$${PXF_PACKAGE_NAME}/install_component ;\
118+
cp NOTICE DISCLAIMER LICENSE build/stage/$${PXF_PACKAGE_NAME}/ ;\
118119
echo "===> PXF staging is complete <==="
119120

120121
tar: stage

0 commit comments

Comments
 (0)