chiark / gitweb /
Switch to GPL v3
[disorder] / doc / Makefile.am
index 8a8b1888a899fa440bf2293a998d44a0e15ccb07..1315273ffa96930afef2bed755067dd550521532 100644 (file)
@@ -2,20 +2,18 @@
 # This file is part of DisOrder.
 # Copyright (C) 2004-2008 Richard Kettlewell
 #
-# This program is free software; you can redistribute it and/or modify
+# This program 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 2 of the License, or
+# the Free Software Foundation, either version 3 of the License, or
 # (at your option) any later version.
 #
-# This program 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.
-#
+# This program 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 this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-# USA
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
 noinst_DATA=$(HTMLMAN)
@@ -25,7 +23,8 @@ man_MANS=disorderd.8 disorder.1 disorder.3 disorder_config.5 disorder-dump.8 \
        disorder-rescan.8 disobedience.1 disorderfm.1 disorder-speaker.8 \
        disorder-playrtp.1 disorder-normalize.8 disorder-decode.8 \
        disorder-stats.8 disorder-dbupgrade.8 disorder_templates.5 \
-       disorder_actions.5 disorder_options.5 disorder.cgi.8
+       disorder_actions.5 disorder_options.5 disorder.cgi.8 \
+       disorder_preferences.5
 noinst_MANS=tkdisorder.1
 
 SEDFILES=disorder.1 disorderd.8 disorder_config.5 \
@@ -33,7 +32,7 @@ SEDFILES=disorder.1 disorderd.8 disorder_config.5 \
        disorder-rescan.8 disobedience.1 disorderfm.1 disorder-playrtp.1 \
        disorder-decode.8 disorder-stats.8 disorder-dbupgrade.8 \
        disorder_options.5 disorder.cgi.8 disorder_templates.5 \
-       disorder_actions.5
+       disorder_actions.5 disorder_preferences.5
 
 include ${top_srcdir}/scripts/sedfiles.make
 
@@ -74,6 +73,14 @@ disorder_actions.5.in: disorder_actions.5.head disorder_actions.5.tail \
        cat ${srcdir}/disorder_actions.5.tail >> disorder_actions.5.new
        mv disorder_actions.5.new disorder_actions.5.in
 
+if GROG
+check: $(man_MANS)
+       @set -e; for m in $(man_MANS); do \
+         echo \`$(GROG) $$m\` -Tutf8 -wall \>/dev/null ;\
+         echo `$(GROG) $$m` -Tutf8 -wall >/dev/null ;\
+       done
+endif
+
 EXTRA_DIST=disorderd.8.in disorder.1.in disorder_config.5.in \
           disorder.3 disorder-dump.8.in disorder_protocol.5.in \
           tkdisorder.1 disorder-deadlock.8.in disorder-rescan.8.in \
@@ -82,7 +89,7 @@ EXTRA_DIST=disorderd.8.in disorder.1.in disorder_config.5.in \
           disorder-stats.8.in disorder-dbupgrade.8.in \
           disorder_actions.5.head disorder_templates.5.head \
           disorder_actions.5.tail disorder_templates.5.tail \
-          disorder_options.5.in disorder.cgi.8.in
+          disorder_options.5.in disorder.cgi.8.in disorder_preferences.5.in
 
 CLEANFILES=$(SEDFILES) $(HTMLMAN) $(TMPLMAN) \
        disorder_actions.5.in disorder_templates.5.in