/[svn]/qsampler/trunk/src/src.pro
ViewVC logotype

Diff of /qsampler/trunk/src/src.pro

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2415 by capela, Thu Feb 14 14:57:43 2013 UTC revision 3002 by capela, Sun Oct 9 10:14:12 2016 UTC
# Line 1  Line 1 
1  # qsampler.pro  # qsampler.pro
2  #  #
3  TARGET = qsampler  NAME = qsampler
4    
5    TARGET = $${NAME}
6  TEMPLATE = app  TEMPLATE = app
 DEPENDPATH += .  
 INCLUDEPATH += .  
7    
8  include(src.pri)  include(src.pri)
9    
# Line 65  FORMS += \ Line 64  FORMS += \
64  RESOURCES += \  RESOURCES += \
65          qsampler.qrc          qsampler.qrc
66    
67    
68  TRANSLATIONS += \  TRANSLATIONS += \
69      translations/qsampler_cs.ts \          translations/qsampler_cs.ts \
70      translations/qsampler_ru.ts          translations/qsampler_ru.ts
71    
72    
73  unix {  unix {
74    
# Line 80  unix { Line 81  unix {
81                  PREFIX = /usr/local                  PREFIX = /usr/local
82          }          }
83    
84          BINDIR = $$PREFIX/bin          isEmpty(BINDIR) {
85          DATADIR = $$PREFIX/share                  BINDIR = $${PREFIX}/bin
86          LOCALEDIR = $(localedir)          }
   
         DEFINES += DATADIR=\"$$DATADIR\"  
87    
88          !isEmpty(LOCALEDIR) {          isEmpty(DATADIR) {
89                  DEFINES += LOCALEDIR=\"$$LOCALEDIR\"                  DATADIR = $${PREFIX}/share
90          }          }
91    
92            #DEFINES += DATADIR=\"$${DATADIR}\"
93    
94          # make install          # make install
95          INSTALLS += target desktop icon          INSTALLS += target desktop icon appdata \
96                    icon_scalable mimeinfo mimetypes mimetypes_scalable
97    
98            target.path = $${BINDIR}
99    
100            desktop.path = $${DATADIR}/applications
101            desktop.files += $${NAME}.desktop
102    
103            icon.path = $${DATADIR}/icons/hicolor/32x32/apps
104            icon.files += images/$${NAME}.png
105    
106            icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
107            icon_scalable.files += images/$${NAME}.svg
108    
109            appdata.path = $${DATADIR}/appdata
110            appdata.files += appdata/$${NAME}.appdata.xml
111    
112          target.path = $$BINDIR          mimeinfo.path = $${DATADIR}/mime/packages
113            mimeinfo.files += mimetypes/$${NAME}.xml
114    
115          desktop.path = $$DATADIR/applications          mimetypes.path = $${DATADIR}/icons/hicolor/32x32/mimetypes
116          desktop.files += $${TARGET}.desktop          mimetypes.files += mimetypes/application-x-$${NAME}-session.png
117    
118          icon.path = $$DATADIR/icons/hicolor/32x32/apps          mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
119          icon.files += images/$${TARGET}.png          mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
120  }  }
121    
122  win32 {  win32 {
123    
124          CONFIG(debug, debug|release): CONFIG += console          CONFIG(debug, debug|release): CONFIG += console
125          INSTALLS += target          INSTALLS += target
126          target.path = $$PREFIX/bin          target.path = $${PREFIX}/bin
127  }  }
128    
129  macx {  macx {

Legend:
Removed from v.2415  
changed lines
  Added in v.3002

  ViewVC Help
Powered by ViewVC