ACLOCAL_AMFLAGS = -I m4 -I gl/m4 -I src/libopts/m4 -I src/gl/m4
EXTRA_DIST = cfg.mk maint.mk .clcopying
+YEAR=$(shell date +%Y)
dist-hook:
make -C doc/ compare-makefile
make ChangeLog
cp -f ChangeLog $(distdir)/
sed 's/\@VERSION\@/$(VERSION)/g' -i $(distdir)/src/args-std.def
+ sed 's/\@YEAR\@/$(YEAR)/g' -i $(distdir)/src/args-std.def
+ sed 's/\@PACKAGE_BUGREPORT\@/$(PACKAGE_BUGREPORT)/g' -i $(distdir)/src/args-std.def
cd $(distdir)/src/ && for i in *.def;do \
if test x"$$i" = x"args-std.def";then continue; fi; \
autogen $$i; \
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
export = '#include <gettext.h>';
copyright = {
- date = "2000-2012";
- owner = "Free Software Foundation";
+ date = "2000-@YEAR@";
+ owner = "Free Software Foundation, and others";
author = "Nikos Mavrogiannopoulos, Simon Josefsson and others; "
- "see /usr/share/doc/gnutls-bin/AUTHORS for a complete list.";
- eaddr = "bugs@gnutls.org";
+ "see /usr/share/doc/gnutls/AUTHORS for a complete list.";
+ eaddr = "@PACKAGE_BUGREPORT@";
type = gpl;
};