mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 11:18:10 +02:00
debian: fpc-src no lintian errors
git-svn-id: trunk@55010 -
This commit is contained in:
parent
e58fb14a93
commit
1e98174230
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -10018,10 +10018,12 @@ tools/install/cross_unix/debian_crosswin32/changelog.Debian svneol=native#text/p
|
||||
tools/install/cross_unix/debian_crosswin32/control svneol=native#text/plain
|
||||
tools/install/cross_unix/debian_crosswin32/copyright svneol=native#text/plain
|
||||
tools/install/cross_unix/update_cross_fpc.sh svneol=native#text/plain
|
||||
tools/install/debian_fpc-src/lintian.overrides svneol=native#text/plain
|
||||
tools/install/debian_fpc/changelog svneol=native#text/plain
|
||||
tools/install/debian_fpc/changelog.Debian svneol=native#text/plain
|
||||
tools/install/debian_fpc/control svneol=native#text/plain
|
||||
tools/install/debian_fpc/copyright svneol=native#text/plain
|
||||
tools/install/debian_fpc/lintian.overrides svneol=native#text/plain
|
||||
tools/install/debian_fpc/postinst svneol=native#text/plain
|
||||
tools/install/debian_lazarus/conffiles svneol=native#text/plain
|
||||
tools/install/debian_lazarus/control svneol=native#text/plain
|
||||
|
@ -185,6 +185,7 @@ ResourceDir=$CurDir/debian_$PackageName
|
||||
DebianInstallDir=$FPCBuildDir/usr
|
||||
DebianRulezDir=$FPCBuildDir/DEBIAN/
|
||||
DebianDocDir=$FPCBuildDir/usr/share/doc/$PackageName${TARGET_SUFFIX}
|
||||
DebianLintianDir=$FPCBuildDir/usr/share/lintian
|
||||
DebianSourceDir=$FPCBuildDir/usr/share/fpcsrc/$FPCVersion
|
||||
Date=`date --rfc-822`
|
||||
|
||||
@ -205,6 +206,8 @@ mkdir -p $DebianDocDir
|
||||
chmod 755 $DebianDocDir
|
||||
mkdir -p $DebianRulezDir
|
||||
chmod 755 $DebianRulezDir
|
||||
mkdir -p $DebianLintianDir
|
||||
chmod 755 $DebianLintianDir
|
||||
|
||||
if [ "$PackageName" = "fpc-src" ]; then
|
||||
# copy fpc sources
|
||||
@ -259,7 +262,8 @@ cat $ResourceDir/control \
|
||||
-e "s/Depends: binutils/Depends: $DEPENDS/" \
|
||||
-e "s/DEBSIZE/$DebSize/" \
|
||||
> $DebianRulezDir/control
|
||||
|
||||
mkdir -p $DebianLintianDir/overrides
|
||||
cp $ResourceDir/lintian.overrides $DebianLintianDir/overrides/$PackageName$TARGET_SUFFIX
|
||||
|
||||
# identify conf files
|
||||
if test -n "$TARGET_SUFFIX"
|
||||
|
4
tools/install/debian_fpc-src/lintian.overrides
Normal file
4
tools/install/debian_fpc-src/lintian.overrides
Normal file
@ -0,0 +1,4 @@
|
||||
# ignore special files in /usr/share
|
||||
fpc-src: arch-dependent-file-in-usr-share
|
||||
fpc-src: binary-from-other-architecture
|
||||
fpc-src: wrong-path-for-interpreter
|
3
tools/install/debian_fpc/lintian.overrides
Normal file
3
tools/install/debian_fpc/lintian.overrides
Normal file
@ -0,0 +1,3 @@
|
||||
# ignore special files in /usr/share
|
||||
#fpc: arch-dependent-file-in-usr-share
|
||||
|
Loading…
Reference in New Issue
Block a user