From 9c95d02ac85025fa86b5b96e81e7ec873f000662 Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Mon, 26 Mar 2007 17:07:51 +0000 Subject: [PATCH] Patch from Magnus Runesson / Ubuntu. We exclude the papers directory from the generated tarballs, so attempting to install them in 'make install' won't work so well. --- docs/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 06a56485a..4048e6b93 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -48,7 +48,7 @@ MANPAGES = change_hat.2 \ ${AA_MANPAGES} \ apparmor_parser.8 apparmor_status.8 mod_apparmor.8 DOCUMENTS = immunix.css -PAPERS=$(wildcard papers/*) +PAPERS=$(wildcard papers/*) HTMLMANPAGES=$(foreach manpage, ${MANPAGES}, ${manpage}.html) # All manpages are now autotragically generated. @@ -112,9 +112,8 @@ install_manpages: $(MANPAGES) .PHONY: install_documents install_documents: ${HTMLMANPAGES} - mkdir -m 755 -p ${DESTDIR}/${DOCDIR} ${DESTDIR}/${DOCDIR}/papers + mkdir -m 755 -p ${DESTDIR}/${DOCDIR} install -m 644 $(DOCUMENTS) ${HTMLMANPAGES} ${DESTDIR}/${DOCDIR} - install -m 644 -D ${PAPERS} ${DESTDIR}/${DOCDIR}/papers .PHONY: install install: install_manpages install_documents