#
CONFIG += qt debug @QWT@
-bins.path = $(DESTDIR)@sbindir@
-bins.files = ./bat
-confs.path = $(DESTDIR)@sysconfdir@
+bins.path = /$(DESTDIR)@sbindir@
+bins.files = bat
+confs.path = /$(DESTDIR)@sysconfdir@
confs.commands = ./install_conf_file
+help.path = /$(DESTDIR)@htmldir@
+help.files = help/*.html images/status.png images/mail-message-new.png
TEMPLATE = app
TARGET = bat
LIBTOOL_LINK = @QMAKE_LIBTOOL@ --silent --tag=CXX --mode=link
LIBTOOL_INSTALL = @QMAKE_LIBTOOL@ --silent --mode=install
QMAKE_LINK = $${LIBTOOL_LINK} $(CXX)
-QMAKE_INSTALL_PROGRAM = $${LIBTOOL_INSTALL} $(COPY_PROGRAM)
-QMAKE_CLEAN += .libs/bat
+QMAKE_INSTALL_PROGRAM = $${LIBTOOL_INSTALL} install -m 0754 -p
+QMAKE_CLEAN += .libs/* bat
qwt {
INCLUDEPATH += @QWT_INC@
# Console
HEADERS += console/console.h
-SOURCES += console/authenticate.cpp console/console.cpp
+SOURCES += console/console.cpp
# Restore
HEADERS += restore/restore.h
HEADERS += util/fmtwidgetitem.h util/comboutil.h
SOURCES += util/fmtwidgetitem.cpp util/comboutil.cpp
-INSTALLS += bins
-INSTALLS += confs
+INSTALLS = bins confs help
QMAKE_EXTRA_TARGETS += depend