From 64b83498aaafcaf2b40fb857cf75919c6158cdb4 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 16 Sep 2021 08:53:20 +0200 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d9adb8d..818cdd9 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ $(TARFILE): $(WEBPACK_TEST) cockpit-$(PACKAGE_NAME).spec touch dist/* tar --xz -cf cockpit-$(PACKAGE_NAME)-$(VERSION).tar.xz --transform 's,^,cockpit-$(PACKAGE_NAME)/,' \ --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) tar --xz -cf $@ node_modules