mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 20:10:27 +02:00
deb: fixed copying changelog and delete git files
This commit is contained in:
parent
e696222cba
commit
fc7d829025
@ -180,6 +180,8 @@ rm -rf $LazDestDir/debian
|
||||
rm -rf $LazDestDir/components/aggpas/gpc
|
||||
rm -rf $LazDestDir/components/mpaslex
|
||||
rm -rf $LazDestDir/lcl/interfaces/carbon
|
||||
find $LazDestDir -name .gitignore -delete
|
||||
find $LazDestDir -name .gitattributes -delete
|
||||
|
||||
# compile
|
||||
echo
|
||||
@ -233,7 +235,7 @@ echo "copying copyright and changelog files"
|
||||
LazBuildDocDir=$LazBuildDir/usr/share/doc/$PkgName
|
||||
mkdir -p $LazBuildDocDir
|
||||
cp $DebianSrcDir/copyright $LazBuildDocDir/
|
||||
cat $LazSrcDir/debian/changelog | sed -e "s/^lazarus (/$PkgName (/" > $LazBuildDocDir/changelog
|
||||
cat $LazSrcDir/tools/install/debian_lazarus/changelog.Debian | sed -e "s/^lazarus (/$PkgName (/" > $LazBuildDocDir/changelog
|
||||
cp $LazBuildDocDir/changelog $LazBuildDocDir/changelog.Debian
|
||||
gzip -n --best $LazBuildDocDir/changelog
|
||||
gzip -n --best $LazBuildDocDir/changelog.Debian
|
||||
|
Loading…
Reference in New Issue
Block a user