Make sure we generate opensc.conf every time

There is no dependency for autoconf variables, and
we provide the opensc.conf for Windows MSCVER build.



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3477 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
alonbl 2008-04-17 10:05:50 +00:00
parent a160f0ebf7
commit e19d6a93ed
1 changed files with 8 additions and 2 deletions

View File

@ -4,13 +4,19 @@ DISTCLEANFILES = opensc.conf
SUFFIXES = .in
dist_noinst_DATA = opensc.conf.in
nodist_noinst_DATA = opensc.conf
nodist_noinst_DATA = opensc.conf # For Windows MSVC build
# Make sure we build this every time
# as there is no dependency for this.
# Can be removed if MSVC is not requried.
force:
opensc.conf: opensc.conf.in force
.in:
sed \
-e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \
-e 's|@DEFAULT_PCSC_PROVIDER[@]|$(DEFAULT_PCSC_PROVIDER)|g' \
< $^ > $@
< $< > $@
sysconf_DATA=#required in order to create dir
install-exec-hook: install-sysconfDATA opensc.conf