From a7dadd9daee5b389931f6ade36249c2c6965816e Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Thu, 31 May 2018 17:07:21 +0200 Subject: [PATCH] depot: ignore some files on pkg generation Now, the typical gitignore patterns *~ *.rej *.orig *.swp are not added to the pkg. --- tool/depot/mk/extract_pkg_archive | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tool/depot/mk/extract_pkg_archive b/tool/depot/mk/extract_pkg_archive index 2e289af079..819246ce0b 100755 --- a/tool/depot/mk/extract_pkg_archive +++ b/tool/depot/mk/extract_pkg_archive @@ -61,6 +61,9 @@ $(DEPOT_ARCHIVE_DIR)/_archives: checked_recipe_hash_value_exists # RECIPE_FILES := $(notdir $(wildcard $(RECIPE_DIR)/*)) RECIPE_FILES := $(patsubst %~,,$(RECIPE_FILES)) +RECIPE_FILES := $(patsubst %.rej,,$(RECIPE_FILES)) +RECIPE_FILES := $(patsubst %.orig,,$(RECIPE_FILES)) +RECIPE_FILES := $(patsubst %.swp,,$(RECIPE_FILES)) RECIPE_FILES := $(filter-out archives hash,$(RECIPE_FILES)) checked_readme_exists: