From 1454d352cc1c710771fafd566e3a63b299c84ec8 Mon Sep 17 00:00:00 2001 From: arved Date: Tue, 30 Mar 2004 09:29:47 +0000 Subject: Cleanup empty directories for localized manpages.[1] Readd pkg-plist, because PLIST_DIRS does not support conditional @unexec rmdir PR: 64901 Reported by: dinoex --- misc/help2man/Makefile | 3 --- misc/help2man/pkg-plist | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 misc/help2man/pkg-plist (limited to 'misc') diff --git a/misc/help2man/Makefile b/misc/help2man/Makefile index 9df4ce0f9f42..3bcee1827421 100644 --- a/misc/help2man/Makefile +++ b/misc/help2man/Makefile @@ -34,8 +34,5 @@ USE_PERL5= yes MAN1= help2man.1 INFO= help2man -PLIST_FILES= bin/help2man %%NLS%%lib/hacklocaledir.so \ - %%NLS%%share/locale/fr/LC_MESSAGES/help2man.mo \ - %%NLS%%share/locale/pl/LC_MESSAGES/help2man.mo .include diff --git a/misc/help2man/pkg-plist b/misc/help2man/pkg-plist new file mode 100644 index 000000000000..fb54cc8b62d5 --- /dev/null +++ b/misc/help2man/pkg-plist @@ -0,0 +1,6 @@ +bin/help2man +%%NLS%%lib/hacklocaledir.so +%%NLS%%share/locale/fr/LC_MESSAGES/help2man.mo +%%NLS%%share/locale/pl/LC_MESSAGES/help2man.mo +%%NLS%%@unexec rmdir %D/man/fr/man1 2>/dev/null || true +%%NLS%%@unexec rmdir %D/man/pl/man1 2>/dev/null || true -- cgit