manpages-roff/Makefile.template
author yippi
Fri, 08 Oct 2010 20:33:54 +0000
changeset 20147 9bd581afe2ae
parent 17292 3b9e331d386c
permissions -rw-r--r--
2010-10-07 Brian Cameron <[email protected]> * specs/SUNWgnome-print.spec, patches/libgnomeprint-sun-02-compile.diff: Add patch so that the package compiles with recent compilers. * specs/SUNWgnome-system-monitor.spec: Fix packaging when building without l10n.

MANDIR=/usr/share/man
MANPAGES=$(wildcard *.*)

install:
	for mp in $(MANPAGES); do \
		section=`expr "$$mp" : '.*\.\([^./]*\)$$'`; \
		test -d $$section || install -d $(DESTDIR)$(MANDIR)/man$$section; \
		install --mode=0644 $$mp $(DESTDIR)$(MANDIR)/man$$section; \
	done