diff --git a/etc/Makefile.am b/etc/Makefile.am index 2ee2c0ec..2d29bbb5 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -2,7 +2,8 @@ MAINTAINERCLEANFILES = Makefile.in DISTCLEANFILES = opensc.conf SUFFIXES = .in -dist_noinst_DATA = opensc.conf.in opensc.conf + +dist_noinst_DATA = opensc.conf.in .in: sed -e "s|@pkgdatadir[@]|$(pkgdatadir)|g" < $^ > $@