aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-12-23 18:57:34 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-12-23 18:57:34 +0100
commit34e95be4fef476876d619198d494be384402d346 (patch)
treeb3eb87462165bc45d860dcd8faa5a96c5327d6e8
parenta08cbea5fd3e421f62cc08ba5c62c2eea79fd640 (diff)
Fix Makefile for the AUR, *again*HEADv1.0.3master
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b976a08..9948efa 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,6 @@ DPREFIX = ${DESTDIR}${PREFIX}
MANDIR = ${DPREFIX}/share/man
GDIR = /usr/share/groff/site-tmac
-DGDIR = ${DESTDIR}${GDIR}
all:
@echo 'run `tup` to build the library' >&2
@@ -18,8 +17,7 @@ install:
cp src/lux.h ${DPREFIX}/include
cp man/*.3 ${MANDIR}/man3
cp man/*.3head ${MANDIR}/man3head
- sed '/^\.ds doc-str-Lb-liblux/d' ${GDIR}/mdoc.local >${DGDIR}/mdoc.local
- grep -v '^\.\\"' man/Lb-desc.tmac >>${DGDIR}/mdoc.local
+ @>&2 printf '\n\nIn order to ensure that manual pages render properly, run the following command:\n\n $$ echo '"'%s'"' \\\n >${GDIR}/mdoc.local\n' "`grep '^\.ds' man/Lb-desc.tmac`"
clean:
rm -rf .tup/ src/*.[ao] src/*.so