summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-09 13:15:04 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-09 13:15:04 +0100
commit6addbc37fc7354eb53cec911a52023caa1783632 (patch)
tree0015fd8cdcac38b50e2782e1385f55dca9e42d83 /Makefile.am
parent76c93d23c073ef8b885503b7d28a31ffe2add6d8 (diff)
downloadgnutls-6addbc37fc7354eb53cec911a52023caa1783632.tar.gz
stribute the autogen'erated files as .bak and enable them only if local libopts is being used.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 2e43109687..d2b1f97788 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -53,12 +53,14 @@ dist-hook:
cd $(distdir)/src/ && for i in *.def;do \
if test x"$$i" = x"args-std.def";then continue; fi; \
autogen $$i; \
- touch $$i; \
cp $$i $$i.tmp; \
sed -i 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $$i.tmp; \
autogen -Tagman-cmd.tpl $$i.tmp; \
rm -f $$i.tmp; \
mv -f *.1 ../doc/manpages/; \
done
+ cd $(distdir)/src/ && for i in *-args.c *-args.h;do \
+ mv $$i $$i.bak; \
+ done
sed 's/\@\@VERSION\@\@/$(VERSION)/g' -i $(distdir)/doc/invoke-*.texi
touch $(distdir)/doc/*.html $(distdir)/doc/*.pdf $(distdir)/doc/*.info