1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
# Copyright (c) Members of the EGEE Collaboration. 2004.
# See http://eu-egee.org/partners/ for details on the copyright holders.
# For license conditions see the license file or
# http://eu-egee.org/license.html
#
# Authors: Martijn Steenbakkers <martijn@nikhef.nl>
#
# $Id: Makefile.am 15706 2011-12-14 10:54:33Z okoeroo $
# Define the targets to be built here
moduledir=@LCMAPS_MOD_HOME@
# These files should really not be installed, just serve as examples
examples = vomapfile.in \
groupmapfile.in \
lcmaps.db.in
noinst_DATA = $(examples:.in=)
CLEANFILES = $(noinst_DATA)
EXTRA_DIST=$(examples)
#install-data-hook:
# (cd $(sysconfdir); cp -p lcmaps.db.in lcmaps.db; cd -)
edit = sed \
-e 's|@bindir[@]|$(bindir)|g' \
-e 's|@moduledir[@]|$(moduledir)|g' \
-e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \
-e 's|@prefix[@]|$(prefix)|g'
% :: %.in
$(edit) $< >$@
|