summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2014-11-15 17:28:23 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2014-11-15 17:28:23 (GMT)
commit62c4f22135bc9e0d94f8e513abdd8c688b82da42 (patch) (side-by-side diff)
tree802bab8cef9c05b401aeac9c3b1a356b4c50c41b
parentdb3812f4b4c5e4650671ca53bf1068ee25725078 (diff)
downloadvarnish-mib-62c4f22135bc9e0d94f8e513abdd8c688b82da42.tar.gz
varnish-mib-62c4f22135bc9e0d94f8e513abdd8c688b82da42.tar.bz2
Improve build system
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.am23
-rw-r--r--configure.ac12
-rw-r--r--src/varnish-mib.82
3 files changed, 30 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 0a7b929..9f585f9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,2 +1,25 @@
+# This file is part of varnish-mib -*- automake -*-
+# Copyright (C) 2014 Sergey Poznyakoff
+#
+# varnish-mib is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# varnish-mib is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with varnish-mib. If not, see <http://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src
+EXTRA_DIST=git2chg.awk
+
+.PHONY: ChangeLog
+ChangeLog:
+ $(AM_V_GEN)if test -d .git; then \
+ git log --pretty='format:%ct %an <%ae>%n%n%s%n%n%b%n' | \
+ awk -f $(top_srcdir)/git2chg.awk > ChangeLog; \
+ fi
diff --git a/configure.ac b/configure.ac
index 66efc66..6bce35c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,18 +1,18 @@
-# This file is part of varnish-mib -*- autoconf -*-
-# Copyright (C) 2013-2014 Sergey Poznyakoff
+# This file is part of Varnish-mib -*- autoconf -*-
+# Copyright (C) 2014 Sergey Poznyakoff
#
-# varnish-mib is free software; you can redistribute it and/or modify
+# Varnish-mib is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
-# varnish-mib is distributed in the hope that it will be useful,
+# Varnish-mib is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with varnish-mib. If not, see <http://www.gnu.org/licenses/>.
+# along with Varnish-mib. If not, see <http://www.gnu.org/licenses/>.
AC_PREREQ(2.69)
AC_INIT([varnish-mib], 0.1, [gray@gnu.org])
@@ -23,7 +23,7 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_SYSTEM
AC_LANG(C)
-AM_INIT_AUTOMAKE([foreign tar-ustar])
+AM_INIT_AUTOMAKE([gnu tar-ustar])
AC_GNU_SOURCE
AC_PROG_CC
diff --git a/src/varnish-mib.8 b/src/varnish-mib.8
index 452fc0b..52d4411 100644
--- a/src/varnish-mib.8
+++ b/src/varnish-mib.8
@@ -107,7 +107,7 @@ Sergey Poznyakoff
.SH "BUG REPORTS"
Report bugs to <gray@gnu.org>.
.SH COPYRIGHT
-Copyright \(co 2013-2014 Sergey Poznyakoff
+Copyright \(co 2014 Sergey Poznyakoff
.br
.na
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

Return to:

Send suggestions and report system problems to the System administrator.