jcs ratpoison hax
at master 38 lines 1.6 kB view raw
1# Copyright (C) 2000, 2001, 2002, 2003, 2004 Shawn Betts <sabetts@vcn.bc.ca> 2# 3# This file is part of ratpoison. 4# 5# ratpoison is free software; you can redistribute it and/or modify 6# it under the terms of the GNU General Public License as published by 7# the Free Software Foundation; either version 2 of the License, or 8# (at your option) any later version. 9# 10# ratpoison is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14# 15# You should have received a copy of the GNU General Public License 16# along with this program; if not, write to the Free Software 17# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18# 19 20info_TEXINFOS = ratpoison.texi 21man_MANS = ratpoison.1 22CLEANFILES = ratpoison.1 23EXTRA_DIST = $(srcdir)/ratpoison.mdoc.1 $(srcdir)/ratpoison.man.1 sample.ratpoisonrc ipaq.ratpoisonrc fdl.texi 24MAINTAINERCLEANFILES = $(srcdir)/ratpoison.man.1 Makefile.in texinfo.tex 25 26ratpoison.1: $(srcdir)/ratpoison.$(manpage_format).1 Makefile 27 tmp=`mktemp` && \ 28 sed -e 's|%%sysconfdir%%|$(sysconfdir)|g' \ 29 -e 's|%%docdir%%|$(docdir)|g' \ 30 < $(srcdir)/ratpoison.$(manpage_format).1 > "$$tmp" && \ 31 chmod 0644 "$$tmp" && \ 32 mv "$$tmp" ratpoison.1 33 34$(srcdir)/ratpoison.man.1: $(srcdir)/ratpoison.mdoc.1 35 tmp=`mktemp` && \ 36 $(MANDOC) -Tman < $(srcdir)/ratpoison.mdoc.1 > "$$tmp" && \ 37 chmod 0644 "$$tmp" && \ 38 mv "$$tmp" $(srcdir)/ratpoison.man.1