mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 01:55:56 +02:00
MAKE DEB: *.lpk files should be pacjaged with binaries not with sources (last commit was buggy).
git-svn-id: trunk@28771 -
This commit is contained in:
parent
cdb10f937d
commit
f93448dfbf
6
debian/rules
vendored
6
debian/rules
vendored
@ -151,7 +151,11 @@ install-arch-stamp:
|
||||
# Remove READM.txt files from output directories
|
||||
find $(INSTALL_DIR)/usr/lib/lazarus/${DEB_UPSTREAM_MAIN_VERSION} '(' -name '*.or' -or -wholename '*/lib/README.txt' ')' -delete
|
||||
# Mark package as manually compilable and install them
|
||||
find -name '*.lpk' -exec sed -e 's@\(\W*\)<\bAddToProjectUsesSection\b.*@&\n\1<AutoUpdate Value="Manually"/>@' '{}' > '$(INSTALL_DIR)/usr/lib/lazarus/${DEB_UPSTREAM_MAIN_VERSION}/{}' ';'
|
||||
for package in `find -name '*.lpk'` ; \
|
||||
do \
|
||||
${MKDIR} `dirname "$(INSTALL_DIR)/usr/lib/lazarus/${DEB_UPSTREAM_MAIN_VERSION}/$${package}"` ; \
|
||||
sed -e 's@\(\W*\)<\bAddToProjectUsesSection\b.*@&\n\1<AutoUpdate Value="Manually"/>@' "$${package}" > "$(INSTALL_DIR)/usr/lib/lazarus/${DEB_UPSTREAM_MAIN_VERSION}/$${package}" ; \
|
||||
done
|
||||
# copy icons and menu entries for the GNOME menu
|
||||
install -d $(INSTALL_DIR)/usr/share/pixmaps
|
||||
install -d $(INSTALL_DIR)/usr/share/applications
|
||||
|
Loading…
Reference in New Issue
Block a user