QGIS/Makefile.am
gsherman d57e3df45c Removed unused variables from Makefile.am(s)
Moved helpviewer to src directory
Incidental chagnes to the mysql stubs


git-svn-id: http://svn.osgeo.org/qgis/trunk@4626 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-09 01:20:08 +00:00

56 lines
1.4 KiB
Makefile

# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
#
# 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.
EXTRA_DIST = \
AUTHORS \
BUGS \
ChangeLog \
COPYING \
create_qm_files.sh \
doc \
INSTALL \
$(man1_MANS) \
NEWS \
qgis.spec \
qgsconfig.h.in \
README \
TODO \
update_ts_files.sh
man1_MANS = qgis.man
docdatadir = $(datadir)/$(PACKAGE)/doc
docdata_DATA = AUTHORS
if HAVE_QT4
SUBDIRS = src doc tools i18n resources images
endif
pkginclude_HEADERS = qgsconfig.h
UIcheck:
@UIS=`find . -name *.ui` && \
if [ `grep "UI version" $$UIS | sed -e '/3.1/d' -e '/3.3/d' | wc -l` -ne 0 ]; then \
echo -e "\nWrong UI version:"; \
grep "UI version" $$UIS | sed -e '/3.1/d' -e '/3.3/d' -e 's/:.*version="\([0-9\.]*\)".*/ is version \1/g'; \
echo; \
exit 1; \
fi
release: UIcheck distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(AMTAR)$(TAR) chozf $(distdir).tar.gz $(distdir)
rm -f $(distdir)/qgis.spec
sed '/^Source:/s/\.tar\.gz$$/\.tar\.bz2/' qgis.spec \
> $(distdir)/qgis.spec
BZIP2=$(BZIP2_ENV) $(AMTAR)$(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
-rm -rf $(distdir)