diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2011-06-23 22:49:01 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2011-06-23 22:49:01 +0000 |
commit | b83ea834e2a77dff39893181e68d9442fd55ba40 (patch) | |
tree | 66f0e8ca816fbfb183224c6682de3d4c06c7f50b /util/cf | |
parent | 5938200e572b75f8ce636f42e27793efc3f3cbf4 (diff) |
switch to installing source manuals:
* cope with new bsd.man.mk
* update imake configuration
ports use of imake remains unchanged
Diffstat (limited to 'util/cf')
-rw-r--r-- | util/cf/OpenBSD.cf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/util/cf/OpenBSD.cf b/util/cf/OpenBSD.cf index 2ade73a75..b0d3094e3 100644 --- a/util/cf/OpenBSD.cf +++ b/util/cf/OpenBSD.cf @@ -277,6 +277,9 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe */ #define ManSuffix 1 #define FileManSuffix 5 + +#ifdef Ports + #define ManSourcePath $(MANPATH)/cat #define InstallManPageLongBase(file,destdir,dest) @@\ @@ -350,6 +353,20 @@ install.man:: @@\ ); \ @@\ done +#else /* Ports */ + +#define InstallManPageAliasesBase(file,destdir,aliases) @@\ +install.man:: @@\ + @SUFFIX=`echo $(DESTDIR)destdir/file.* | sed -e 's,.*/[^\.]*.,,'`; \ @@\ + for i in aliases; do \ @@\ + (set -x; \ @@\ + $(RM) $(DESTDIR)destdir/$$i.*; \ @@\ + (cd $(DESTDIR)destdir; $(LN) file.$${SUFFIX} \ @@\ + $$i.$${SUFFIX})); \ @@\ + done + +#endif /* Ports */ + #define InstallManPageAliases(file,destdir,aliases) @@\ InstallHtmlManPageAliases(file,aliases,$(MANSUFFIX)) @@\ @@\ |