Chris@1: # flac - Command-line FLAC encoder/decoder Chris@1: # Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson Chris@1: # Chris@1: # This program is free software; you can redistribute it and/or Chris@1: # modify it under the terms of the GNU General Public License Chris@1: # as published by the Free Software Foundation; either version 2 Chris@1: # of the License, or (at your option) any later version. Chris@1: # Chris@1: # This program is distributed in the hope that it will be useful, Chris@1: # but WITHOUT ANY WARRANTY; without even the implied warranty of Chris@1: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Chris@1: # GNU General Public License for more details. Chris@1: # Chris@1: # You should have received a copy of the GNU General Public License Chris@1: # along with this program; if not, write to the Free Software Chris@1: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Chris@1: Chris@1: if FLaC__HAS_DOCBOOK_TO_MAN Chris@1: flac.1: flac.sgml Chris@1: docbook-to-man $? > $@ || (docbook2man $? && mv FLAC.1 $@) Chris@1: Chris@1: metaflac.1: metaflac.sgml Chris@1: docbook-to-man $? > $@ || (docbook2man $? && mv METAFLAC.1 $@) Chris@1: else Chris@1: flac.1: Chris@1: echo "*** Warning: docbook-to-man not found; man pages will not be built." Chris@1: touch $@ Chris@1: Chris@1: metaflac.1: Chris@1: touch $@ Chris@1: endif Chris@1: Chris@1: man_MANS = flac.1 metaflac.1 Chris@1: Chris@1: EXTRA_DIST = $(man_MANS) flac.sgml metaflac.sgml