diff options
| author | Sam Varshavchik | 2015-02-28 11:59:45 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2015-02-28 11:59:45 -0500 |
| commit | aab9bb42224fbb92c11eabb477282a8f0efe1c17 (patch) | |
| tree | 9c9f27f6e3755bc7bba874727ae08a0e1a5df48b /ldapaddressbook/Makefile.am | |
| parent | 3c35c22f36316dd84533a5d22f04f8b8f90b23a3 (diff) | |
| download | courier-libs-aab9bb42224fbb92c11eabb477282a8f0efe1c17.tar.bz2 | |
Remove clean and smudge filters from the git repo that are used to
stamp sysconftool-processed configuration file.
Rename all sysconftool-processed configuration files to *.git, and use
a build rule to create a stamped sysconftool file.
Fix a couple of compilation warnings.
Diffstat (limited to 'ldapaddressbook/Makefile.am')
| -rw-r--r-- | ldapaddressbook/Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ldapaddressbook/Makefile.am b/ldapaddressbook/Makefile.am index 450375a..c8e99b6 100644 --- a/ldapaddressbook/Makefile.am +++ b/ldapaddressbook/Makefile.am @@ -10,6 +10,17 @@ noinst_PROGRAMS=ldapsearch libaddressbook_la_SOURCES=abookadd.c abookdel.c abookfind.c abookread.c \ abooksearch.c ldapaddressbook.h +if HAVE_SGML + +GITFILES=ldapaddressbook.dist + +BUILT_SOURCES = $(GITFILES) + +$(GITFILES): %: %.git + perl -p -e 's/\$$Id:[^\$$]*/\$$Id: '"`git log --pretty=format:\"%H\" -n 1 -- $<`-`date +%Y%m%d%H%M%S`/" <$< >$@.tmp + mv -f $@.tmp $@ +endif + if HAVE_OPENLDAP ldapsearch_SOURCES=ldapsearch.c ldapsearch_LDADD=libldapsearch.la |
