From 472bb144b4d16bede28ef31915908e474b0da0e2 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 28 Mar 1998 11:53:43 +0000 Subject: [PATCH] transform the man page git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4692 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/xnlock/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/appl/xnlock/Makefile.in b/appl/xnlock/Makefile.in index 94577e3c7..e222c4373 100644 --- a/appl/xnlock/Makefile.in +++ b/appl/xnlock/Makefile.in @@ -57,7 +57,8 @@ install: all $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1 (cd $(srcdir); \ for x in $(MAN1); do \ - $(INSTALL_DATA) $$x $(DESTDIR)$(mandir)/man1/`echo $$x | sed '$(transform)' | sed 's/\.man/.1/'`; \ + b=`echo $$x | sed -e 's/\.man//' -e '$(transform);`.1; \ + $(INSTALL_DATA) $$x $(DESTDIR)$(mandir)/man1/$$b; \ done) uninstall: @@ -65,7 +66,8 @@ uninstall: rm -f $(DESTDIR)$(bindir)/`echo $$x | sed '$(transform)'`; \ done for x in $(MAN1); do \ - rm -f $(DESTDIR)$(mandir)/man1/`echo $$x | sed '$(transform)' | sed 's/\.man/.1/'`; \ + b=`echo $$x | sed -e 's/\.man//' -e '$(transform);`.1; \ + rm -f $(DESTDIR)$(mandir)/man1/$$b; \ done TAGS: $(SOURCES)