[mythtv] [PATCH] Install mythtv-setup

Allan Stirling Dibblahmythml0015 at pendor.org
Mon Feb 7 16:55:57 UTC 2005


I'm quite sure there's a reason why this is not in already... But just 
in case.

This patch installs mythtv-setup in $${PREFIX}/bin, instead of requiring 
  each package developer to do this internally (and deciding on a name 
and location for the resultant program)

<fire retardant suit=on>

Cheers,

Allan.
-------------- next part --------------
Index: setup.pro
===================================================================
RCS file: /var/lib/mythcvs/mythtv/setup/setup.pro,v
retrieving revision 1.17
diff -u -r1.17 setup.pro
--- setup.pro	31 Jan 2005 06:14:20 -0000	1.17
+++ setup.pro	7 Feb 2005 16:49:12 -0000
@@ -1,6 +1,3 @@
-TEMPLATE = app
-CONFIG += thread
-
 INCLUDEPATH += ../libs/libmythtv ../libs ../libs/libmyth
 
 LIBS += -L../libs/libmyth -L../libs/libmythtv -L../libs/libavcodec
@@ -9,6 +6,11 @@
 include ( ../config.mak )
 include ( ../settings.pro )
 
+TEMPLATE = app
+CONFIG += thread
+TARGET = mythtv-setup
+target.path = $${PREFIX}/bin
+
 LIBS += -lmythtv-$$LIBVERSION -lmythavformat-$$LIBVERSION
 LIBS += -lmythavcodec-$$LIBVERSION -lmyth-$$LIBVERSION $$EXTRA_LIBS
 isEmpty(QMAKE_EXTENSION_SHLIB) {
@@ -34,4 +36,5 @@
 menu.path = $${PREFIX}/share/mythtv/
 menu.files += setup.xml
 
+INSTALLS = target
 INSTALLS += menu


More information about the mythtv-dev mailing list