# # # ProLinga-Validate # # Copyright (C) 2002-2008 Xobas Software. # All rights reserved. # # This file is part of ProLinga-Validate. # # ProLinga-Validate is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ProLinga-Validate is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with ProLinga-Validate. If not, see . # # More information is available at the following addresses: # # Website : http://www.prolinga.org # # Email : prolinga-list@prolinga.org # # # Process this file with automake to create Makefile.in # export config files. EXTRA_DIST = prolingavalcfg.xml.in langvalid.xml prolingavald.init.in prolingavald.init sysconf_DATA = prolingavalcfg.xml prolingadatadir = $(datadir)/prolinga prolingadata_DATA = langvalid.xml # export API header files. pkgincludedir = $(includedir)/prolinga pkginclude_HEADERS = Validate.hpp noinst_DATA = $(INSERT_REPOSITORY_CONFIG) prolingavald.init insert_repository_config: prolingavalcfg.xml.in Makefile if [ -r $(PROLINGAREPOSITORY_CONFIG_FILE) ]; then \ sed -e '//d' < prolingavalcfg.xml > val.tmp && \ sed -e '//!d' < $(PROLINGAREPOSITORY_CONFIG_FILE) > rep.tmp && \ sed -e '//r rep.tmp' < val.tmp > prolingavalcfg.xml && \ rm rep.tmp && \ rm val.tmp \ ; fi prolingavald.init: prolingavald.init.in Makefile sed -e 's?\@bindir\@?$(bindir)?g' \ < prolingavald.init.in > prolingavald.tmp \ && chmod +x prolingavald.tmp && mv prolingavald.tmp prolingavald.init