Kyle M Hall
067f1b8b55
When installing the Debian package of Koha, we install the Debian tinymce package and symlink over our own tinymce libs that are in the Koha codebase. This version of tinymce does not have the same files and because of this, tinymce does not get loaded. We should remove the use of the tinymce Debian package, and just use our own version of TinyMCE. Test Plan: 1) Install Koha 19.11 from package 2) Browse to the news editor 4) Note the WYSIWYG editor is missing 5) Build a new Koha package with this patch applied, install it 6) Reload the news editor 7) Note the WYSIWYG editor is back! Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
46 lines
1.6 KiB
Makefile
Executable file
46 lines
1.6 KiB
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
TMP = $(CURDIR)/debian/tmp
|
|
|
|
# Make "perl Makefile.PL" be non-interactive.
|
|
export PERL_MM_USE_DEFAULT=1
|
|
|
|
%:
|
|
dh $@ --fail-missing --with bash-completion
|
|
|
|
override_dh_gencontrol:
|
|
debian/bd-to-depends >> debian/koha-common.substvars
|
|
dh_gencontrol
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install
|
|
rm $(TMP)/etc/koha/README.txt
|
|
rm $(TMP)/etc/koha/SIPconfig.xml
|
|
rm $(TMP)/etc/koha/log4perl.conf
|
|
rm -r $(TMP)/usr/share/koha/doc
|
|
rm -r $(TMP)/var/run
|
|
rm -r $(TMP)/var/lock
|
|
rm $(TMP)/var/log/koha/README
|
|
rm -r \
|
|
$(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/lib/tiny_mce
|
|
install -d $(TMP)/etc/apache2/sites-available
|
|
install -d $(TMP)/etc/apache2/sites-enabled
|
|
install -d $(TMP)/etc/apache2/conf.d
|
|
ln -s ../../koha/koha-httpd.conf $(TMP)/etc/apache2/sites-available/koha
|
|
ln -s ../sites-available/koha $(TMP)/etc/apache2/sites-enabled/koha
|
|
install -m 0644 debian/koha.apache-ports $(TMP)/etc/apache2/conf.d/koha
|
|
sed -i '/^<VirtualHost 127.0.1.1:/s//<VirtualHost *:/' \
|
|
$(TMP)/etc/koha/koha-httpd.conf
|
|
mv $(TMP)/etc/koha/koha-conf.xml $(TMP)/usr/share/koha/koha-conf.xml.in
|
|
sed -i $(TMP)/usr/share/koha/koha-conf.xml.in \
|
|
-e '/^ <user>/s/>.*</>_DBC_DBUSER_</' \
|
|
-e '/^ <pass>/s/>.*</>_DBC_DBPASS_</'
|
|
mkdir -p $(TMP)/debian/tmp_docbook
|
|
xt/verify-debian-docbook.t
|
|
xsltproc --output $(TMP)/debian/tmp_docbook/ \
|
|
/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl \
|
|
debian/docs/*.xml
|
|
|
|
override_dh_compress:
|
|
# exclude history.txt from compression as about.pl needs it uncompressed
|
|
dh_compress --exclude=history.txt --exclude=contributors.yaml --exclude=teams.yaml
|