QGIS/tools/Makefile.am
jobi 4ec847d71c ** Changed to simple macros for detecting QT and GDAL
** Added code for detecting QGIS as m4 file to tools
** this will be installed together with QT and GDAL detection to
   $prefix/share/aclocal/qgis.m4
   so the plugins can just use those simple unique macros
** updated German translation
!! Developers have to link the installed qgis.m4 to /usr/share/aclocal/
!! or where ever aclocal keeps the m4 files
!! otherwise it's not detected by the plugins autogen.sh (more exactly
!! aclocal)
!! It can be cheated by adding -I path/to/qgis.m4 to the aclocal of
!! autogen.sh. But be carefull not to commit that to CVS


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1213 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-18 23:44:41 +00:00

28 lines
744 B
Makefile

# Copyright (C) 2004 Jens Oberender <j.obi at troja.net>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# $Id$
SUBDIRS = qgis_config
m4filedir = $(datadir)/aclocal
m4file_DATA = qgis.m4
m4file_SOURCE = qgisdetect.m4
$(m4file_DATA): $(m4file_SOURCE)
cat ../acinclude.m4 $(m4file_SOURCE) > $(m4file_DATA)
EXTRA_DIST = $(m4file_SOURCE)
clean:
rm -f $(m4file_DATA)