mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-23 22:40:38 +01:00
pkg.sh: Don't exclude .in files from source package
Building with .in files should work just fine, so don't exclude them anylonger. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
cec581c8f6
commit
b3c093fd94
1 changed files with 1 additions and 3 deletions
|
|
@ -488,9 +488,7 @@ build_pkg()
|
||||||
# --- tar up source directory tree
|
# --- tar up source directory tree
|
||||||
create_empty_dir $DIST_PCKG_DIR "Package directory"
|
create_empty_dir $DIST_PCKG_DIR "Package directory"
|
||||||
|
|
||||||
local excluded=`find $TOPDIR -name '*.in' | sed "s/\.in$//; s%$DIST_SRC_DIR%%; s%^[./]*%%; s/^/--exclude /g"`
|
tar --anchored -czvf $DIST_PCKG_DIR/$tar_archive -C $DIST_SRC_DIR `basename $src_tree`
|
||||||
tar --anchored $addprefix $excluded \
|
|
||||||
-czvf $DIST_PCKG_DIR/$tar_archive -C $DIST_SRC_DIR `basename $src_tree`
|
|
||||||
|
|
||||||
case "$PKG_FORMAT" in
|
case "$PKG_FORMAT" in
|
||||||
rpm)
|
rpm)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue