From: Joel Rosdahl Date: Mon, 6 Sep 2010 17:16:12 +0000 (+0200) Subject: Use GNU tar's auto detection of extension when creating dist archives X-Git-Tag: v3.1~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc0b63bb6d568cb1b6e9332a21c2f8b6f888d853;p=thirdparty%2Fccache.git Use GNU tar's auto detection of extension when creating dist archives --- diff --git a/dev.mk.in b/dev.mk.in index 661786b62..bfb7831b5 100644 --- a/dev.mk.in +++ b/dev.mk.in @@ -54,15 +54,15 @@ define create_dist_archive cp -r --parents $(source_dist_files) $$dir) && \ cp $(built_dist_files) $$dir && \ (cd $$tmpdir && \ - tar $(1) $(CURDIR)/$@ $(dist_dir)) && \ + tar caf $(CURDIR)/$@ $(dist_dir)) && \ rm -rf $$tmpdir endef $(dist_archive_tar_bz2): $(dist_files) - $(call create_dist_archive, cjf) + $(call create_dist_archive) $(dist_archive_tar_gz): $(dist_files) - $(call create_dist_archive, czf) + $(call create_dist_archive) .PHONY: distcheck distcheck: $(dist_archive_tar_bz2)