Skip to content
Snippets Groups Projects
Commit 2654ca85 authored by Steven Murray's avatar Steven Murray
Browse files

Removed the UglyTarget macro from config/Imake.rules.

This modifications means that the MANPAGE build rule of config/Imake.rules
now just copies manual pages to their installation directories.  There is no
longer any perl processing of their contents.
parent d78ca434
Branches
Tags
No related merge requests found
Showing with 20 additions and 21 deletions
.so ./getacctent.man
.so man3/getacctent.3castor
......@@ -9,13 +9,12 @@
#define NullParameter
#define ManPageTargetName(name,suffix) $(EXPORTMAN)/man/**/suffix/name.suffix/**/castor
#define UglyTarget(suffix) 's/^\.so \.?\/?(\w+)(.*)/\.so man'/**/suffix/**/'\/$${1}\.'/**/suffix/**/'castor/g'
#define MANPAGE(name,suffix,insttarget) \
ManPageTargetName(name,suffix): LOCAL_PATH/$(PREFIX(MANSUBDIR))name.man @@\
@echo Installing $@ @@\
install -d $(EXPORTMAN)/man/**/suffix @@\
cat LOCAL_PATH/$(PREFIX(MANSUBDIR))name.man | perl -pe UglyTarget(suffix) > ManPageTargetName(name,suffix) @@\
cp LOCAL_PATH/$(PREFIX(MANSUBDIR))name.man ManPageTargetName(name,suffix) @@\
insttarget: ManPageTargetName(name,suffix)
#define EXEMANPAGE(name) MANPAGE(name,1,install)
......
.so ./Cns_chown.man
.so man3/Cns_chown.3castor
.so ./Cns_opendirg.man
.so man3/Cns_opendirg.3castor
.so ./rfio_chmod.man
.so man3/rfio_chmod.3castor
.so ./rfio_ferror.man
.so man3/rfio_ferror.3castor
.so ./rfio_fopen.man
.so man3/rfio_fopen.3castor
.so ./rfio_fseek.man
.so man3/rfio_fseek.3castor
.so ./rfio_stat.man
.so man3/rfio_stat.3castor
.so ./rfio_fstat.man
.so man3/rfio_fstat.3castor
.so ./rfio_ftell.man
.so man3/rfio_ftell.3castor
.so ./rfio_lockf.man
.so man3/rfio_lockf.3castor
.so ./rfio_lseek.man
.so man3/rfio_lseek.3castor
.so ./rfio_stat.man
.so man3/rfio_stat.3castor
.so ./rfio_stat.man
.so man3/rfio_stat.3castor
.so ./rfio_stat.man
.so man3/rfio_stat.3castor
.so ./rfio_stat.man
.so man3/rfio_stat.3castor
.so ./rfio_symlink.man
.so man3/rfio_symlink.3castor
.so ./rfio_unlink.man
.so man3/rfio_unlink.3castor
.so ./rfio_open.man
.so man3/rfio_open.3castor
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment