Skip to content

Commit

Permalink
Makefile: reduce payload in dist target
Browse files Browse the repository at this point in the history
reduce payload in the dist target

Signed-off-by: Douglas Landgraf <[email protected]>
  • Loading branch information
dougsland committed Oct 15, 2024
1 parent 4feb349 commit cbe21d6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,14 @@ man: qm.8.md ## - Generates the QM man page

.PHONY: dist
dist: ## - Creates the QM distribution package
tar cvz --transform s/qm/qm-${VERSION}/ -f /tmp/v${VERSION}.tar.gz ../qm
tar cvz \
--exclude='.git' \
--dereference \
--exclude='.gitignore' \
--exclude='demos' \
--exclude='.github' \
--transform s/qm/qm-${VERSION}/ \
-f /tmp/v${VERSION}.tar.gz ../qm
mv /tmp/v${VERSION}.tar.gz ./rpm

.PHONY: rpm
Expand Down

0 comments on commit cbe21d6

Please sign in to comment.