Gergely POLONKAI (W00d5t0ck)
6595f0f961
It is *NOT* ready for distribution yet! The script must be finished with downloading real data, or separate rules must be added to create (download) dependency files like timeZones.txt, allCountries.zip and countryInfo.txt.
20 lines
663 B
Makefile
20 lines
663 B
Makefile
geodatadir = $(pkgdatadir)
|
|
geodata_DATA = geodata.xml
|
|
|
|
EXTRA_DIST = geodata.xml
|
|
|
|
MAINTAINERCLEANFILES = geodata.xml
|
|
|
|
geodata.xml:
|
|
$(AM_V_GEN) if test -x "$(PERL)"; then \
|
|
if test "x$(have_geonames_perl_modules)" = "xyes" -o "x$(I_HAVE_PERL_MODULES)" = "xyes"; then \
|
|
$(PERL) geonames_process.pl; \
|
|
else \
|
|
echo "XML::Writer and IO::File perl modules are required to process geonames data."; \
|
|
echo "configure reported they are not installed. If you are sure they are,"; \
|
|
echo "set the I_HAVE_PERL_MODULES environment variable to yes"; \
|
|
fi; \
|
|
else \
|
|
echo "perl5 is required to create geodata.xml!"; \
|
|
fi
|