File tree 5 files changed +32
-9
lines changed
5 files changed +32
-9
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ install: all
13
13
# Copy GRASS to QGIS
14
14
cpgrass:
15
15
mkdir -p -m 755 $(prefix)/grass/docs
16
- cp $(GRASS_BASE)/COPYING $(prefix)/grass
17
- cp $(GRASS_BASE)/AUTHORS $(prefix)/grass
18
- cp $(GRASS_BASE)/README $(prefix)/grass
16
+ # cp $(GRASS_BASE)/COPYING $(prefix)/grass
17
+ # cp $(GRASS_BASE)/AUTHORS $(prefix)/grass
18
+ # cp $(GRASS_BASE)/README $(prefix)/grass
19
19
cp -r $(GRASS_BASE)/etc $(prefix)/grass
20
20
cp -r $(GRASS_BASE)/driver $(prefix)/grass
21
21
cp -r $(GRASS_BASE)/bin $(prefix)/grass
54
54
@ echo "Creating binary package $(BINPKG)"
55
55
mkdir -p -m 755 $(BINPKG)
56
56
cp -r $(prefix)/* $(BINPKG)
57
+ (cd $(BINPKG); rm -fr grass-6.1.cvs include)
58
+
57
59
zip -r $(BINPKG).zip $(BINPKG)
58
60
59
61
Original file line number Diff line number Diff line change @@ -7,9 +7,23 @@ STDSUBDIRS = core ui legend raster composer widgets helpviewer
7
7
8
8
WINSUBDIRS = core legend raster composer \
9
9
widgets/projectionselector gui \
10
- providers/ogr providers/grass providers/wms \
10
+ providers/ogr \
11
+ providers/grass \
12
+ providers/wms \
11
13
providers/postgres \
12
- plugins/grass
14
+ providers/gpx \
15
+ providers/delimitedtext \
16
+ plugins/grass \
17
+ plugins/north_arrow \
18
+ plugins/copyright_label \
19
+ plugins/geoprocessing \
20
+ plugins/scale_bar \
21
+ plugins/georeferencer \
22
+ plugins/grid_maker \
23
+ plugins/delimited_text
24
+ plugins/gps_importer \
25
+ plugins/spit
26
+
13
27
14
28
all: stdsubdirs guilib winsubdirs
15
29
@@ -19,7 +33,7 @@ guilib:
19
33
install: all
20
34
@list='$(WINSUBDIRS)'; \
21
35
for subdir in $$list; do \
22
- echo $$subdir ; \
36
+ echo !!!!!!!!!!!!!!!!!!!! $$subdir !!!!!!!!!!!!!!!!!!!! ; \
23
37
$(MAKE) -C $$subdir -f Makefile.win install || exit 1 ; \
24
38
done
25
39
Original file line number Diff line number Diff line change @@ -19,8 +19,11 @@ plugindir = ${pkglibdir}
19
19
# for plugin so
20
20
plugin_LTLIBRARIES = gridmakerplugin.la
21
21
22
- # for standalon executable
22
+ # For standalone executable
23
+ # don't build on mingw since we haven't figured out the makefile issues
24
+ if MINGW_FALSE
23
25
bin_PROGRAMS = gridmaker
26
+ endif
24
27
25
28
% .moc.cpp : % .h
26
29
$(MOC ) -o $@ $<
Original file line number Diff line number Diff line change 8
8
#include < qapplication.h>
9
9
#include < qtextcodec.h>
10
10
#include < qtranslator.h>
11
+ #include < QString>
11
12
12
13
int main (int argc, char *argv[])
13
14
{
14
15
QApplication a (argc, argv);
15
16
16
17
#if defined(Q_OS_MACX) || defined(WIN32)
17
- QString PKGDATAPATH = qApp->applicationDirPath () + " /share/qgis" ;
18
+ // XXX Is the PKGDATAPATH setting below needed under Qt 4.x?
19
+ // PKGDATAPATH = QString(qApp->applicationDirPath() + "/share/qgis");
18
20
#endif
19
21
20
22
/* Load translationfile */
Original file line number Diff line number Diff line change 13
13
plugindir = ${pkglibdir}
14
14
15
15
plugin_LTLIBRARIES = spitplugin.la
16
+ if MINGW_FALSE
16
17
bin_PROGRAMS = spit
18
+ endif
17
19
18
20
19
21
% .moc.cpp : % .h
@@ -76,7 +78,7 @@ BUILT_SOURCES = $(spit_MOC) $(spit_UI) $(spitplugin_la_MOC)
76
78
77
79
spitplugin_la_LIBADD = $(QT_LDADD ) $(PG_LIB ) $(GDAL_LDADD ) ../../core/libqgis_core.la
78
80
spitplugin_la_LDFLAGS = -avoid-version -module
79
- spitplugin_la_CXXFLAGS = $(CXXFLAGS ) $(EXTRA_CXXFLAGS ) $(GDAL_CFLAGS ) $(QT_CXXFLAGS ) $(PG_INC ) $( GEOS_CFLAGS ) -I../../gui -I../../ui -I../../core
81
+ spitplugin_la_CXXFLAGS = $(CXXFLAGS ) $(EXTRA_CXXFLAGS ) $(GDAL_CFLAGS ) $(QT_CXXFLAGS ) $(PG_INC ) -I../../gui -I../../ui -I../../core
80
82
81
83
82
84
spit_LDADD = $(QT_LDADD ) $(PG_LIB ) $(GDAL_LDADD )
You can’t perform that action at this time.
0 commit comments