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 /imap/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 'imap/Makefile.am')
| -rw-r--r-- | imap/Makefile.am | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/imap/Makefile.am b/imap/Makefile.am index bd68261..7a08790 100644 --- a/imap/Makefile.am +++ b/imap/Makefile.am @@ -139,6 +139,15 @@ courierpop3d.8: courierpop3d.8.in  	./config.status --file=courierpop3d.8  if HAVE_SGML + +GITFILES=imapd.dist.in imapd-ssl.dist.in pop3d.dist.in pop3d-ssl.dist.in + +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 $@ +  imapd.html.in: imapd.sgml ../docbook/sgml2html  	../docbook/sgml2html imapd.sgml imapd.html.in | 
