Makefile: Avoid cockpit-po-plugin.js hardlink in dist tarball
Drop the redundant `$(LIB_TEST)` from the tar file list; it is src/lib/cockpit-po-plugin.js, which is already contained in src/lib, and tar turns that into an unsightly hardlink. See https://github.com/cockpit-project/cockpit-machines/issues/379
This commit is contained in:
parent
6ff3b7d6bc
commit
64b83498aa
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -93,7 +93,7 @@ $(TARFILE): $(WEBPACK_TEST) cockpit-$(PACKAGE_NAME).spec
|
||||||
touch dist/*
|
touch dist/*
|
||||||
tar --xz -cf cockpit-$(PACKAGE_NAME)-$(VERSION).tar.xz --transform 's,^,cockpit-$(PACKAGE_NAME)/,' \
|
tar --xz -cf cockpit-$(PACKAGE_NAME)-$(VERSION).tar.xz --transform 's,^,cockpit-$(PACKAGE_NAME)/,' \
|
||||||
--exclude cockpit-$(PACKAGE_NAME).spec.in --exclude node_modules \
|
--exclude cockpit-$(PACKAGE_NAME).spec.in --exclude node_modules \
|
||||||
$$(git ls-files) $(LIB_TEST) src/lib package-lock.json cockpit-$(PACKAGE_NAME).spec dist/
|
$$(git ls-files) src/lib package-lock.json cockpit-$(PACKAGE_NAME).spec dist/
|
||||||
|
|
||||||
$(NODE_CACHE): $(NODE_MODULES_TEST)
|
$(NODE_CACHE): $(NODE_MODULES_TEST)
|
||||||
tar --xz -cf $@ node_modules
|
tar --xz -cf $@ node_modules
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue