You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koffice/kexi/debian/rules

33 lines
1.0 KiB

#!/usr/bin/make -f
### CDBS INCLUDES
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/kde.mk
### VARIABLES
DEB_DH_MAKESHLIBS_ARGS_ALL := -n
PACKAGES_WITH_LIBS := kexi kexi-postgresql-driver kexi-mysql-driver \
libkexi-dev
DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib:debian/$(p)/usr/lib/trinity)
# We need this commented out until sqlite 3.0 is available in Debian
# DEB_EXTRA_CONNFIGURE_FLAGS := --without-included-sqlite
### POST-INSTALL HACKING
# Make directories in /usr/share/doc be symlinks for packages other than amarok
common-binary-post-install-arch::
for p in $(filter-out kexi,$(DEB_ALL_PACKAGES)); do \
rm -rf debian/$$p/usr/share/doc/$$p; \
ln -sf kexi debian/$$p/usr/share/doc/$$p; \
done
# Check for non installed files
dh_install --no-act --list-missing
binary-install/kexi::
install -p -D -m644 debian/kformdesigner.menu debian/kexi/usr/lib/menu/kformdesigner.menu