FIX: Some lintian issues

This commit is contained in:
Alexander Koblov 2011-10-16 17:43:04 +00:00
commit af04b5c7f1
4 changed files with 5 additions and 10 deletions

3
install/linux/deb/doublecmd/lintian/doublecmd-gtk Executable file → Normal file
View file

@ -1,7 +1,4 @@
doublecmd-gtk: symlink-should-be-relative
doublecmd-gtk: binary-without-manpage
doublecmd-gtk: shlib-with-non-pic-code
doublecmd-gtk: shlib-with-executable-stack
doublecmd-gtk: library-not-linked-against-libc
doublecmd-gtk: shared-lib-without-dependency-information
doublecmd-gtk: extra-license-file

3
install/linux/deb/doublecmd/lintian/doublecmd-qt Executable file → Normal file
View file

@ -1,7 +1,4 @@
doublecmd-qt: symlink-should-be-relative
doublecmd-qt: binary-without-manpage
doublecmd-qt: shlib-with-non-pic-code
doublecmd-qt: shlib-with-executable-stack
doublecmd-qt: library-not-linked-against-libc
doublecmd-qt: shared-lib-without-dependency-information
doublecmd-qt: extra-license-file

View file

@ -76,6 +76,7 @@ binary-arch: build install
for pkg in `dh_listpackages` ; do \
install -d $(CURDIR)/debian/$$pkg/usr/share/lintian/overrides ; \
install -m 644 $(CURDIR)/debian/lintian/$$pkg $(CURDIR)/debian/$$pkg/usr/share/lintian/overrides ; \
rm -f $(CURDIR)/debian/$$pkg/usr/share/doublecmd/doc/COPYING*.txt ; \
find $(CURDIR)/debian/$$pkg/usr/share/ -type f | xargs chmod a-x ; \
done

View file

@ -109,18 +109,18 @@ if [ -z $CK_PORTABLE ]
# Copy documentation
install -d $DC_INSTALL_PREFIX/usr/share/doublecmd/doc
install -m 644 doc/*.txt $DC_INSTALL_PREFIX/usr/share/doublecmd/doc
ln -sf /usr/share/doublecmd/doc $DC_INSTALL_DIR/doc
ln -sf ../../share/doublecmd/doc $DC_INSTALL_DIR/doc
# Copy languages
cp -r language $DC_INSTALL_PREFIX/usr/share/doublecmd
ln -sf /usr/share/doublecmd/language $DC_INSTALL_DIR/language
ln -sf ../../share/doublecmd/language $DC_INSTALL_DIR/language
# Copy pixmaps
cp -r pixmaps $DC_INSTALL_PREFIX/usr/share/doublecmd
ln -sf /usr/share/doublecmd/pixmaps $DC_INSTALL_DIR/pixmaps
ln -sf ../../share/doublecmd/pixmaps $DC_INSTALL_DIR/pixmaps
# Create symlink and desktop files
install -d $DC_INSTALL_PREFIX/usr/bin
install -d $DC_INSTALL_PREFIX/usr/share/pixmaps
install -d $DC_INSTALL_PREFIX/usr/share/applications
ln -sf /$OS_LIB_DIR/doublecmd/doublecmd $DC_INSTALL_PREFIX/usr/bin/doublecmd
ln -sf ../$OS_LIB_DIR/doublecmd/doublecmd $DC_INSTALL_PREFIX/usr/bin/doublecmd
install -m 644 doublecmd.png $DC_INSTALL_PREFIX/usr/share/pixmaps/doublecmd.png
install -m 644 install/linux/doublecmd.desktop $DC_INSTALL_PREFIX/usr/share/applications/doublecmd.desktop
else