[PC-BSD Commits] r15872 - pcbsd/current/src-qt4/EasyPBI

svn at pcbsd.org svn at pcbsd.org
Wed Mar 21 05:28:28 PDT 2012


Author: kenmoore
Date: 2012-03-21 12:28:28 +0000 (Wed, 21 Mar 2012)
New Revision: 15872

Modified:
   pcbsd/current/src-qt4/EasyPBI/EasyPBI.pro
   pcbsd/current/src-qt4/EasyPBI/Makefile
Log:
Make sure that EasyPBI now puts the binary in /usr/local/bin



Modified: pcbsd/current/src-qt4/EasyPBI/EasyPBI.pro
===================================================================
--- pcbsd/current/src-qt4/EasyPBI/EasyPBI.pro	2012-03-21 10:15:34 UTC (rev 15871)
+++ pcbsd/current/src-qt4/EasyPBI/EasyPBI.pro	2012-03-21 12:28:28 UTC (rev 15872)
@@ -7,6 +7,7 @@
 QT       += core gui network
 
 TARGET = EasyPBI
+DESTDIR = /usr/local/bin
 TEMPLATE = app
 
 
@@ -23,4 +24,4 @@
 
 RESOURCES+= EasyPBI.qrc
 
-LIBS     += -lQtSolutions_SingleApplication-head
\ No newline at end of file
+LIBS     += -lQtSolutions_SingleApplication-head

Modified: pcbsd/current/src-qt4/EasyPBI/Makefile
===================================================================
--- pcbsd/current/src-qt4/EasyPBI/Makefile	2012-03-21 10:15:34 UTC (rev 15871)
+++ pcbsd/current/src-qt4/EasyPBI/Makefile	2012-03-21 12:28:28 UTC (rev 15872)
@@ -1,6 +1,6 @@
 #############################################################################
-# Makefile for building: EasyPBI
-# Generated by qmake (2.01a) (Qt 4.7.4) on: Mon Mar 19 11:54:13 2012
+# Makefile for building: /usr/local/bin/EasyPBI
+# Generated by qmake (2.01a) (Qt 4.7.4) on: Tue Mar 20 08:56:19 2012
 # Project:  EasyPBI.pro
 # Template: app
 # Command: /usr/local/bin/qmake-qt4 -o Makefile EasyPBI.pro
@@ -76,8 +76,8 @@
 		/usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
 		EasyPBI.pro
 QMAKE_TARGET  = EasyPBI
-DESTDIR       = 
-TARGET        = EasyPBI
+DESTDIR       = /usr/local/bin/
+TARGET        = /usr/local/bin/EasyPBI
 
 first: all
 ####### Implicit rules
@@ -104,6 +104,7 @@
 all: Makefile $(TARGET)
 
 $(TARGET): ui_mainwindow.h $(OBJECTS)  
+	@$(CHK_DIR_EXISTS) /usr/local/bin/ || $(MKDIR) /usr/local/bin/ 
 	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
 
 Makefile: EasyPBI.pro  /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf /usr/local/share/qt4/mkspecs/common/g++.conf \
@@ -223,7 +224,8 @@
 ####### Compile
 
 main.o: main.cpp mainwindow.h \
-		pbi.h
+		pbi.h \
+		../config.h
 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
 
 mainwindow.o: mainwindow.cpp mainwindow.h \



More information about the Commits mailing list