2021-04-07 Fred Gleason <fredg@paravelsystems.com>

* Added tests to the configure script to locate the correct
	versions of the Qt5 tools 'lupdate' and 'lrelease'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-04-07 16:10:45 -04:00
parent dd29b2bfcb
commit 299e0da2de
19 changed files with 77 additions and 34 deletions

View File

@@ -23,6 +23,8 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@
LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h
@@ -37,8 +39,8 @@ uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdlibrary_*.qm
all:
lupdate-qt5 rdlibrary.pro
lrelease-qt5 rdlibrary.pro
$(LUPDATE) rdlibrary.pro
$(LRELEASE) rdlibrary.pro
bin_PROGRAMS = rdlibrary